trying to fix add_library for glslang
This commit is contained in:
parent
71498b2030
commit
84edfef34d
1 changed files with 5 additions and 3 deletions
|
|
@ -161,7 +161,9 @@ if(NOT KOMPUTE_OPT_DISABLE_SHADER_UTILS)
|
||||||
glslang
|
glslang
|
||||||
SPIRV)
|
SPIRV)
|
||||||
else()
|
else()
|
||||||
find_package(glslang CONFIG REQUIRED)
|
|
||||||
|
find_library(glslang INTERFACE)
|
||||||
|
find_library(SPIRV INTERFACE)
|
||||||
|
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
kompute PRIVATE
|
kompute PRIVATE
|
||||||
|
|
@ -171,8 +173,8 @@ if(NOT KOMPUTE_OPT_DISABLE_SHADER_UTILS)
|
||||||
# Not including hlsl support
|
# Not including hlsl support
|
||||||
# glslang::HLSL
|
# glslang::HLSL
|
||||||
# Adding explicit dependencies to match above
|
# Adding explicit dependencies to match above
|
||||||
glslang::glslang
|
glslang
|
||||||
glslang::SPIRV)
|
SPIRV)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue