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
This commit is contained in:
Gregoire Krähenbühl authored and Brad King committed 2022-10-03 10:52:58 -04:00
1 parent c7170651f4
commit fdc95c6d19
1 file changed
+1 -1
+1 -1
View File
@@ -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