mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 13:37:55 +08:00
[gdal] Fix debug library name in vcpkg-cmake-wrapper (#13992)
* [gdal] Fix debug library name in vcpkg-cmake-wrapper * correct debug library name on Windows * correct library name on Windows
This commit is contained in:
parent
d1ba685e97
commit
6cc5c2c70e
@ -1,6 +1,6 @@
|
||||
Source: gdal
|
||||
Version: 2.4.1
|
||||
Port-Version: 12
|
||||
Port-Version: 13
|
||||
Homepage: https://gdal.org/
|
||||
Description: The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data.
|
||||
Build-Depends: proj4, libpng, geos, sqlite3, curl, expat, libpq, openjpeg, libwebp, libxml2, liblzma, netcdf-c, hdf5, zlib
|
||||
|
@ -3,10 +3,10 @@ include(SelectLibraryConfigurations)
|
||||
|
||||
find_path(GDAL_INCLUDE_DIR NAMES gdal.h HINTS ${CURRENT_INSTALLED_DIR})
|
||||
|
||||
find_library(GDAL_LIBRARY_DEBUG NAMES gdald libgdal NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug" NO_DEFAULT_PATH REQUIRED)
|
||||
find_library(GDAL_LIBRARY_RELEASE NAMES gdal libgdal NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" NO_DEFAULT_PATH REQUIRED)
|
||||
find_library(GDAL_LIBRARY_DEBUG NAMES gdal gdald NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug" NO_DEFAULT_PATH REQUIRED)
|
||||
find_library(GDAL_LIBRARY_RELEASE NAMES gdal NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" NO_DEFAULT_PATH REQUIRED)
|
||||
|
||||
select_library_configurations(GDAL)
|
||||
|
||||
set(GDAL_INCLUDE_DIR ${GDAL_INCLUDE_DIR})
|
||||
set(GDAL_LIBRARY ${GDAL_LIBRARY})
|
||||
set(GDAL_LIBRARY ${GDAL_LIBRARY})
|
||||
|
Loading…
x
Reference in New Issue
Block a user