mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 18:27:55 +08:00
Geos: Removed empty directory after install (when only static lib are built)
This commit is contained in:
parent
a2c846338c
commit
dba828e590
@ -26,6 +26,10 @@ vcpkg_configure_cmake(
|
|||||||
)
|
)
|
||||||
vcpkg_install_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)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
|
|
||||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/bin/geos-config)
|
if(EXISTS ${CURRENT_PACKAGES_DIR}/bin/geos-config)
|
||||||
|
Loading…
Reference in New Issue
Block a user