Due to a cmake misconfiguration, we are installing spirv as part of the release, public headers. It's now corrected.
28 lines
1003 B
Diff
28 lines
1003 B
Diff
diff --git a/third_party/spirv-headers/CMakeLists.txt b/third_party/spirv-headers/CMakeLists.txt
|
|
index 9cfba73af..2b8bb5e59 100644
|
|
--- a/third_party/spirv-headers/CMakeLists.txt
|
|
+++ b/third_party/spirv-headers/CMakeLists.txt
|
|
@@ -28,7 +28,7 @@
|
|
# The SPIR-V headers from the SPIR-V Registry
|
|
# https://www.khronos.org/registry/spir-v/
|
|
#
|
|
-cmake_minimum_required(VERSION 3.0)
|
|
+cmake_minimum_required(VERSION 3.19)
|
|
project(SPIRV-Headers VERSION 1.5.5)
|
|
|
|
# There are two ways to use this project.
|
|
@@ -44,11 +44,9 @@ project(SPIRV-Headers VERSION 1.5.5)
|
|
# 2. cmake ..
|
|
# 3. cmake --build . --target install
|
|
|
|
-option(SPIRV_HEADERS_SKIP_EXAMPLES "Skip building examples"
|
|
- ${SPIRV_HEADERS_SKIP_EXAMPLES})
|
|
+option(SPIRV_HEADERS_SKIP_EXAMPLES "Skip building examples" ON)
|
|
|
|
-option(SPIRV_HEADERS_SKIP_INSTALL "Skip install"
|
|
- ${SPIRV_HEADERS_SKIP_INSTALL})
|
|
+option(SPIRV_HEADERS_SKIP_INSTALL "Skip install" ON)
|
|
|
|
if(NOT ${SPIRV_HEADERS_SKIP_EXAMPLES})
|
|
set(SPIRV_HEADERS_ENABLE_EXAMPLES ON)
|