Open lobneroO opened 1 year ago
Does it work better if you do add_subdirectory(3rdparty/shaderc)
instead of include
?
I have the same error. I'm using add_subdirectory and I still get the same error
Sorry, I had gone back to using the shaderc packaged with the VulkanSDK and adding my own shader includer class, I cannot say if the add_subdirectory
would have fixed my issue.
Are you changing CMAKE_MODULE_PATH
? It looks like it's looking for a file in the local cmake
folder and is unable to find it?
I want to use shaderc (including glslc) in my project, such that I can compile glsl shaders (including
#include
directives) in my code.In the libshaderc/README.md it says:
So I went ahead and did this:
But I get the following errors:
And because of this, other errors (e.g.
Unknwon CMake command "find_host_package"
follow). It doesn't helpf, if I include these other cmake files in my own CMakeLists.txt either.My project structure is