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
|
||||
SPIRV)
|
||||
else()
|
||||
find_package(glslang CONFIG REQUIRED)
|
||||
|
||||
find_library(glslang INTERFACE)
|
||||
find_library(SPIRV INTERFACE)
|
||||
|
||||
target_include_directories(
|
||||
kompute PRIVATE
|
||||
|
|
@ -171,8 +173,8 @@ if(NOT KOMPUTE_OPT_DISABLE_SHADER_UTILS)
|
|||
# Not including hlsl support
|
||||
# glslang::HLSL
|
||||
# Adding explicit dependencies to match above
|
||||
glslang::glslang
|
||||
glslang::SPIRV)
|
||||
glslang
|
||||
SPIRV)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue