You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the external project uses CMake, then shaderc/CMakeLists.txt can be included into the external project's CMake configuration and shaderc can be used as a link target. This is the simplest way to use libshaderc in an external project.
CMake Error at 3rdparty/shaderc/CMakeLists.txt:69 (include):
include could not find requested file:
cmake/setup_build.cmake
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.
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.
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
The text was updated successfully, but these errors were encountered: