Closed handsomematt closed 4 years ago
copying bgfx_shader.sh
to $INSTALL_TARGET/include/bgfx/
and passing the following variable to shaderc has worked fine for me:
get_target_property(BGFX_SHADER_INCLUDE_PATH bgfx::bgfx INTERFACE_INCLUDE_DIRECTORIES)
solved in #82
When using shaderc normally you would include
bgfx_shader.sh
orbgfx_compute.sh
, these are located inbgfx/src
. When the library is installed these files disappear, removing the ability to use shaderc effectively.A possible solution I can think of is to copy src/bgfx_shader.sh -> $INSTALL_TARGET/include/bgfx_shader.sh - but I'm not sure how good this would be.