[poco] Always remove bin and debug/bin directories on Linux (#8152)

This commit is contained in:
Kai Blaschke 2019-09-13 01:16:06 +02:00 committed by Curtis J Bezault
parent 595363d842
commit 563166f21a

View File

@ -121,7 +121,7 @@ endif()
#
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
if (VCPKG_LIBRARY_LINKAGE STREQUAL static OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux")
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/bin
${CURRENT_PACKAGES_DIR}/debug/bin)