diff options
| author | ing. Federico Fuga <fuga@studiofuga.com> | 2018-12-13 13:06:27 +0100 |
|---|---|---|
| committer | ing. Federico Fuga <fuga@studiofuga.com> | 2018-12-13 13:06:27 +0100 |
| commit | dba828e5904dcf6bec908571ece9ab3ab2c51232 (patch) | |
| tree | 0886b62d15e0120463ec0a2032c8b29db5428281 | |
| parent | a2c846338ced13df79089419c3161c3d2fefb68c (diff) | |
| download | vcpkg-dba828e5904dcf6bec908571ece9ab3ab2c51232.tar.gz vcpkg-dba828e5904dcf6bec908571ece9ab3ab2c51232.zip | |
Geos: Removed empty directory after install (when only static lib are built)
| -rw-r--r-- | ports/geos/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/geos/portfile.cmake b/ports/geos/portfile.cmake index 2f374e79d..673b159f8 100644 --- a/ports/geos/portfile.cmake +++ b/ports/geos/portfile.cmake @@ -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) |
