mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 09:34:40 -06:00
build: Fix undefined SPIRV symbols on linux
For some reason on Fedora 42 linking glsl doesn't link it's SPIRV-Tools dependencies. Fixes #1544
This commit is contained in:
parent
6df3e1742e
commit
ff2819ed28
@ -549,7 +549,7 @@ set_property(TARGET CemuCafe PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CON
|
||||
|
||||
target_include_directories(CemuCafe PUBLIC "../")
|
||||
|
||||
if (glslang_VERSION VERSION_LESS "15.0.0")
|
||||
if (glslang_VERSION VERSION_LESS "15.0.0" OR glslang_VERSION VERSION_GREATER_EQUAL "15.3.0")
|
||||
set(glslang_target "glslang::SPIRV")
|
||||
else()
|
||||
set(glslang_target "glslang")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user