From e8899b37d28fe5b4d5843b2c2b44a939c8030a3f Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Fri, 9 Feb 2018 13:39:22 +0900 Subject: [libgeotiff] remove installed dlls when static build --- ports/libgeotiff/portfile.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3