mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 18:51:47 +08:00
Merge pull request #4966 from studiofuga/dev/studiofuga/geos
[Geos] Remove empty */bin directories when statically linking
This commit is contained in:
commit
6ec8eebaeb
@ -1,3 +1,3 @@
|
||||
Source: geos
|
||||
Version: 3.6.3-2
|
||||
Version: 3.6.3-3
|
||||
Description: Geometry Engine Open Source
|
||||
|
@ -26,6 +26,10 @@ vcpkg_configure_cmake(
|
||||
)
|
||||
vcpkg_install_cmake()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/bin/geos-config)
|
||||
|
Loading…
Reference in New Issue
Block a user