mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 14:58:00 +08:00
At static build now the bin directories are removed. (#3240)
This commit is contained in:
parent
bb054e645d
commit
6d0d3b1d2c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user