From f25c8c8da58648df46ca569aefcffd825d594298 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 2 Nov 2016 16:25:40 -0700 Subject: [PATCH] [tiff] Remove bin directories in static builds --- ports/tiff/portfile.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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()