From 362be3c6829f8abb7eb5e7dba50ce97cccbd8536 Mon Sep 17 00:00:00 2001 From: namark Date: Sun, 26 May 2024 19:05:58 +0400 Subject: [PATCH] Fixed new spirv-tools vcpkg port skipping executables. --- cmake/ports/spirv-tools/portfile.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/ports/spirv-tools/portfile.cmake b/cmake/ports/spirv-tools/portfile.cmake index b85d776226..7d2af93b8c 100644 --- a/cmake/ports/spirv-tools/portfile.cmake +++ b/cmake/ports/spirv-tools/portfile.cmake @@ -16,7 +16,7 @@ vcpkg_add_to_path("${PYTHON3_DIR}") vcpkg_check_features( OUT_FEATURE_OPTIONS FEATURE_OPTIONS INVERTED_FEATURES - tools SPIRV_SKIP_EXECUTABLES + tools ) vcpkg_cmake_configure( @@ -28,7 +28,6 @@ vcpkg_cmake_configure( -DSPIRV_TOOLS_BUILD_STATIC=ON -DSPIRV_WERROR=OFF OPTIONS_DEBUG - -DSPIRV_SKIP_EXECUTABLES=ON ) vcpkg_cmake_install() @@ -50,7 +49,7 @@ if("tools" IN_LIST FEATURES) vcpkg_copy_tools(TOOL_NAMES ${tools} AUTO_CLEAN) endif() -file(REMOVE_RECURSE +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share" )