diff options
author | Gregoire Krähenbühl <krahenbuhl@gmail.com> | 2022-09-30 23:32:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-03 14:52:58 (GMT) |
commit | fdc95c6d19c769c2e9d7f83d7d564b8da96eb453 (patch) | |
tree | bb3e3f42be09b06e5520e4f7f2be1cab28de1db5 /Modules | |
parent | c7170651f48bac9e6b80c58f5e97f687d9f6c302 (diff) | |
download | CMake-fdc95c6d19c769c2e9d7f83d7d564b8da96eb453.zip CMake-fdc95c6d19c769c2e9d7f83d7d564b8da96eb453.tar.gz CMake-fdc95c6d19c769c2e9d7f83d7d564b8da96eb453.tar.bz2 |
FindGDAL: Add library name for MSVC Debug GDAL
Search for `gdald.lib`, which is how the library is now named when built
with CMake under MSVC Debug.
Fixes: #24015
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindGDAL.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindGDAL.cmake b/Modules/FindGDAL.cmake index 5237e15..e6eac30 100644 --- a/Modules/FindGDAL.cmake +++ b/Modules/FindGDAL.cmake @@ -160,7 +160,7 @@ unset(_gdal_version) unset(_gdal_versions) find_library(GDAL_LIBRARY - NAMES ${_gdal_lib} ${_gdal_libnames} gdal gdal_i gdal1.5.0 gdal1.4.0 gdal1.3.2 GDAL + NAMES ${_gdal_lib} ${_gdal_libnames} gdal gdald gdal_i gdal1.5.0 gdal1.4.0 gdal1.3.2 GDAL HINTS ENV GDAL_DIR ENV GDAL_ROOT |