Removed inconsistancies with original branch

This commit is contained in:
unexploredtest 2021-04-16 17:34:30 +04:30
parent 629c6e38ce
commit 429628f246

View file

@ -161,9 +161,7 @@ if(NOT KOMPUTE_OPT_DISABLE_SHADER_UTILS)
glslang
SPIRV)
else()
find_library(glslang INTERFACE)
find_library(SPIRV INTERFACE)
find_package(glslang CONFIG REQUIRED)
target_include_directories(
kompute PRIVATE
@ -173,8 +171,8 @@ if(NOT KOMPUTE_OPT_DISABLE_SHADER_UTILS)
# Not including hlsl support
# glslang::HLSL
# Adding explicit dependencies to match above
glslang
SPIRV)
glslang::glslang
glslang::SPIRV)
endif()
endif()