diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-10-24 12:41:19 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-10-24 12:41:19 -0700 |
| commit | ffa114aaa43e8bcdf880d6e2c47ee0ed46125070 (patch) | |
| tree | 4853304e1e71e45becedfba5d83e3f5321e0b9c9 | |
| parent | 9b21ff9612916e24f89c6839599d3d50446597d8 (diff) | |
| download | vcpkg-ffa114aaa43e8bcdf880d6e2c47ee0ed46125070.tar.gz vcpkg-ffa114aaa43e8bcdf880d6e2c47ee0ed46125070.zip | |
[ecsutil] Remove empty bin directories
| -rw-r--r-- | ports/ecsutil/portfile.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/ecsutil/portfile.cmake b/ports/ecsutil/portfile.cmake index dd29d0b93..4a8e48b2b 100644 --- a/ports/ecsutil/portfile.cmake +++ b/ports/ecsutil/portfile.cmake @@ -47,3 +47,6 @@ vcpkg_install_msbuild( 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()
|
