diff --git a/ports/poco/portfile.cmake b/ports/poco/portfile.cmake index 518106030..4e7995a49 100644 --- a/ports/poco/portfile.cmake +++ b/ports/poco/portfile.cmake @@ -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)