forked from google/filament
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spirv-headers: fix failed headers check (google#7416)
Due to a cmake misconfiguration, we are installing spirv as part of the release, public headers. It's now corrected.
- Loading branch information
Showing
5 changed files
with
35 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
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) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters