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
2022-09-30 19:32:40 -04:00
committed by Brad King
parent c7170651f4
commit fdc95c6d19

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