mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 13:01:18 +12: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue