Skip to content

Commit

Permalink
build: Fix linker failure with glslang 15.0.0 (#1436)
Browse files Browse the repository at this point in the history
  • Loading branch information
kescherCode authored Dec 2, 2024
1 parent 0735237 commit 80a6057
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Cafe/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -547,7 +553,7 @@ target_link_libraries(CemuCafe PRIVATE
Boost::nowide
CURL::libcurl
fmt::fmt
glslang::SPIRV
${glslang_target}
ih264d
OpenSSL::Crypto
OpenSSL::SSL
Expand Down

0 comments on commit 80a6057

Please sign in to comment.