mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-12-04 15:04:24 +01:00
build: Fix linker failure with glslang 15.0.0 (#1436)
This commit is contained in:
parent
0735237686
commit
80a6057512
@ -532,6 +532,12 @@ set_property(TARGET CemuCafe PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CON
|
|||||||
|
|
||||||
target_include_directories(CemuCafe PUBLIC "../")
|
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
|
target_link_libraries(CemuCafe PRIVATE
|
||||||
CemuAsm
|
CemuAsm
|
||||||
CemuAudio
|
CemuAudio
|
||||||
@ -547,7 +553,7 @@ target_link_libraries(CemuCafe PRIVATE
|
|||||||
Boost::nowide
|
Boost::nowide
|
||||||
CURL::libcurl
|
CURL::libcurl
|
||||||
fmt::fmt
|
fmt::fmt
|
||||||
glslang::SPIRV
|
${glslang_target}
|
||||||
ih264d
|
ih264d
|
||||||
OpenSSL::Crypto
|
OpenSSL::Crypto
|
||||||
OpenSSL::SSL
|
OpenSSL::SSL
|
||||||
|
Loading…
Reference in New Issue
Block a user