Skip to content

Commit ad9804a

Browse files
committed
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
1 parent 6df3e17 commit ad9804a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cafe/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ set_property(TARGET CemuCafe PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CON
549549

550550
target_include_directories(CemuCafe PUBLIC "../")
551551

552-
if (glslang_VERSION VERSION_LESS "15.0.0")
552+
if (glslang_VERSION VERSION_LESS "15.0.0" OR glslang_VERSION VERSION_GREATER_EQUAL "15.0.3")
553553
set(glslang_target "glslang::SPIRV")
554554
else()
555555
set(glslang_target "glslang")

0 commit comments

Comments
 (0)