mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[gdal] Fix duplicate pdb file (#7520)
This commit is contained in:
parent
165907550c
commit
095fecf85c
@ -1,5 +1,5 @@
|
|||||||
Source: gdal
|
Source: gdal
|
||||||
Version: 2.4.1-5
|
Version: 2.4.1-7
|
||||||
Homepage: https://gdal.org/
|
Homepage: https://gdal.org/
|
||||||
Description: The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data.
|
Description: The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data.
|
||||||
Build-Depends: proj, libpng, geos, sqlite3, curl, expat, libpq, openjpeg, libwebp, libxml2, liblzma, netcdf-c, hdf5, zlib
|
Build-Depends: proj, libpng, geos, sqlite3, curl, expat, libpq, openjpeg, libwebp, libxml2, liblzma, netcdf-c, hdf5, zlib
|
||||||
|
@ -324,6 +324,10 @@ if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStor
|
|||||||
|
|
||||||
# Copy over PDBs
|
# Copy over PDBs
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
|
if(NOT VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||||
|
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/gdal204.pdb)
|
||||||
|
endif()
|
||||||
|
|
||||||
elseif (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin") # Build in UNIX
|
elseif (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin") # Build in UNIX
|
||||||
# Check build system first
|
# Check build system first
|
||||||
|
Loading…
x
Reference in New Issue
Block a user