mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01: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
|
${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
|
# Remove unwanted and duplicate directories
|
||||||
file(REMOVE_RECURSE
|
file(REMOVE_RECURSE
|
||||||
${CURRENT_PACKAGES_DIR}/debug/include
|
${CURRENT_PACKAGES_DIR}/debug/include
|
||||||
|
Loading…
x
Reference in New Issue
Block a user