diff options
| author | Gabor Cseh <csega@mailbox.hu> | 2018-04-10 19:49:55 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-04-10 10:49:55 -0700 |
| commit | 6d0d3b1d2c4ac7e798c029a25ca870b03e1877fe (patch) | |
| tree | ff97f42a285f6194cb92fa19315fe336dd4a9e04 | |
| parent | bb054e645d6a91adc6d533929ff3b4d9fd1d8788 (diff) | |
| download | vcpkg-6d0d3b1d2c4ac7e798c029a25ca870b03e1877fe.tar.gz vcpkg-6d0d3b1d2c4ac7e798c029a25ca870b03e1877fe.zip | |
At static build now the bin directories are removed. (#3240)
| -rw-r--r-- | ports/plplot/portfile.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ports/plplot/portfile.cmake b/ports/plplot/portfile.cmake index 372a59bba..7b35f0a15 100644 --- a/ports/plplot/portfile.cmake +++ b/ports/plplot/portfile.cmake @@ -53,6 +53,14 @@ file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/pltek.exe
)
+if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
+ message(STATUS "Static build: Removing the full bin directory.")
+ file(REMOVE_RECURSE
+ ${CURRENT_PACKAGES_DIR}/debug/bin
+ ${CURRENT_PACKAGES_DIR}/bin
+ )
+endif()
+
# Remove unwanted and duplicate directories
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/include
|
