aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-02 16:25:40 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-02 16:25:40 -0700
commitf25c8c8da58648df46ca569aefcffd825d594298 (patch)
treefdf98c578eb0d7d7204d585c5a74eeb28776f775
parent9b603bd884934a5d0882109378672ecc34ec1b02 (diff)
downloadvcpkg-f25c8c8da58648df46ca569aefcffd825d594298.tar.gz
vcpkg-f25c8c8da58648df46ca569aefcffd825d594298.zip
[tiff] Remove bin directories in static builds
-rw-r--r--ports/tiff/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/tiff/portfile.cmake b/ports/tiff/portfile.cmake
index 5a546967a..2266cfe35 100644
--- a/ports/tiff/portfile.cmake
+++ b/ports/tiff/portfile.cmake
@@ -34,4 +34,8 @@ file(RENAME
)
file(GLOB EXES ${CURRENT_PACKAGES_DIR}/bin/*.exe ${CURRENT_PACKAGES_DIR}/debug/bin/*.exe)
file(REMOVE ${EXES})
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
+endif()
+
vcpkg_copy_pdbs()