aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Kast <bob.kast@emc.com>2018-11-13 15:51:30 -0500
committerBob Kast <bob.kast@emc.com>2018-11-13 15:51:30 -0500
commitd31d385e641e44251b9eba390f095118a8b0b438 (patch)
treee100e52bee90e6c7b77af9c18eda64d374b47c9c
parent90f4901b23e6f75213637cb1f755d93eb3598566 (diff)
parentffa114aaa43e8bcdf880d6e2c47ee0ed46125070 (diff)
downloadvcpkg-d31d385e641e44251b9eba390f095118a8b0b438.tar.gz
vcpkg-d31d385e641e44251b9eba390f095118a8b0b438.zip
Merge branch 'master' of https://github.com/EMCECS/vcpkg
-rw-r--r--ports/ecsutil/portfile.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/ecsutil/portfile.cmake b/ports/ecsutil/portfile.cmake
index 7946b0738..ff8d8a6b1 100644
--- a/ports/ecsutil/portfile.cmake
+++ b/ports/ecsutil/portfile.cmake
@@ -50,3 +50,6 @@ endif()
file(COPY ${SOURCE_PATH}/ECSUtil DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN *.h)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/ECSUtil/res ${CURRENT_PACKAGES_DIR}/tools)
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/NatvisAddIn.dll ${CURRENT_PACKAGES_DIR}/debug/bin/NatvisAddIn.dll)
+if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
+endif()