-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move SPIRV into glslang #3837
base: main
Are you sure you want to change the base?
Move SPIRV into glslang #3837
Conversation
I'll try to fix these ASAP, I'm in the middle of a move so might take a moment. Seems only a |
This will fix part of #3509. Because the text of the original report got mangled when I edited it, I've lost track of whether this is the only remaining problem 3509 is about, but it's definitely one of the things it's about. |
In order to keep paths the same as post install, move the SPIRV to glslang.
Hi, Sorry for the delay, should work now. |
@@ -315,7 +315,7 @@ else() | |||
endif() | |||
|
|||
if(ENABLE_SPIRV) | |||
add_subdirectory(SPIRV) | |||
add_subdirectory(glslang/SPIRV) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this to glslang/CMakeLists.txt?
This PR moves the SPIRV/ into glslang/.
Currently, when using CMake's FetchContent1 to fetch SPIRV as a dependency, the headers are only generated upon installation. This results in inconsistent paths for including the headers. For example, if you use
FIND_PACKAGE_ARGS
to first search for system packages and fall back to compiling from source, it complicates the compilation processA sample application that shows this behaviour can be found here: https://github.com/vikke1234/glslang-demo
The
master
branch is the current behaviour, whilefix
cantains this change.Footnotes
https://cmake.org/cmake/help/latest/module/FetchContent.html ↩