aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Miura <miurahr@linux.com>2018-02-09 13:39:22 +0900
committerHiroshi Miura <miurahr@linux.com>2018-02-09 13:39:22 +0900
commite8899b37d28fe5b4d5843b2c2b44a939c8030a3f (patch)
treef9395d9d8206f48128b3e19f06d48be459eb51f5
parentfc888e46178675bb708448f24cb07a72b13d7cd1 (diff)
downloadvcpkg-e8899b37d28fe5b4d5843b2c2b44a939c8030a3f.tar.gz
vcpkg-e8899b37d28fe5b4d5843b2c2b44a939c8030a3f.zip
[libgeotiff] remove installed dlls when static build
-rw-r--r--ports/libgeotiff/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/libgeotiff/portfile.cmake b/ports/libgeotiff/portfile.cmake
index b974ebc35..36be37bb6 100644
--- a/ports/libgeotiff/portfile.cmake
+++ b/ports/libgeotiff/portfile.cmake
@@ -39,3 +39,7 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libgeotiff RENAME copyright)
+
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/bin)
+endif() \ No newline at end of file