Skip to content

Commit

Permalink
Fixed new spirv-tools vcpkg port skipping executables.
Browse files Browse the repository at this point in the history
  • Loading branch information
namark committed May 26, 2024
1 parent e31804e commit 362be3c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/ports/spirv-tools/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -28,7 +28,6 @@ vcpkg_cmake_configure(
-DSPIRV_TOOLS_BUILD_STATIC=ON
-DSPIRV_WERROR=OFF
OPTIONS_DEBUG
-DSPIRV_SKIP_EXECUTABLES=ON
)

vcpkg_cmake_install()
Expand All @@ -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"
)
Expand Down

0 comments on commit 362be3c

Please sign in to comment.