blob: aa2afdab68fb6f4d5acb75aed9bab54dc34fd8d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff --git a/src/Cafe/CMakeLists.txt b/src/Cafe/CMakeLists.txt
index 6f9f3d52e..76dba0071 100644
--- a/src/Cafe/CMakeLists.txt
+++ b/src/Cafe/CMakeLists.txt
@@ -532,6 +532,12 @@ set_property(TARGET CemuCafe PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CON
target_include_directories(CemuCafe PUBLIC "../")
+if (glslang_VERSION VERSION_LESS "15.0.0")
+ set(glslang_target "glslang::SPIRV")
+else()
+ set(glslang_target "glslang")
+endif()
+
target_link_libraries(CemuCafe PRIVATE
CemuAsm
CemuAudio
@@ -547,7 +553,7 @@ target_link_libraries(CemuCafe PRIVATE
Boost::nowide
CURL::libcurl
fmt::fmt
- glslang::SPIRV
+ ${glslang_target}
ih264d
OpenSSL::Crypto
OpenSSL::SSL
|