Geos: Removed empty directory after install (when only static lib are built)

This commit is contained in:
ing. Federico Fuga 2018-12-13 13:06:27 +01:00
parent a2c846338c
commit dba828e590

View File

@ -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)