aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/CMakeLists.txt
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-06-11 13:21:23 -0400
committerGitHub <noreply@github.com>2022-06-11 13:21:23 -0400
commitb94739cfa7f4b9ff515a527e00a915437417eca7 (patch)
treed2974d2d9efbe8dbdff498341ea14b33f50c2608 /src/yuzu/CMakeLists.txt
parent89e00c442dc82167a66b964e4a1e65b5b06fe08b (diff)
parent3370546a7a6d2206139106cc48c2400bfafb67f4 (diff)
Merge pull request #8353 from Docteh/msvc_report_runtime
log the MSVC runtime version when running on MSVC build
Diffstat (limited to 'src/yuzu/CMakeLists.txt')
-rw-r--r--src/yuzu/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index 9259ca15e..242867a4f 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -244,6 +244,7 @@ elseif(WIN32)
target_link_libraries(yuzu PRIVATE Qt5::WinMain)
endif()
if(MSVC)
+ target_link_libraries(yuzu PRIVATE version.lib)
set_target_properties(yuzu PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS")
elseif(MINGW)
set_target_properties(yuzu PROPERTIES LINK_FLAGS_RELEASE "-Wl,--subsystem,windows")