From 3370546a7a6d2206139106cc48c2400bfafb67f4 Mon Sep 17 00:00:00 2001 From: Kyle Kienapfel Date: Fri, 10 Jun 2022 20:37:47 -0700 Subject: log the MSVC runtime version when running on MSVC build This might be useful information, not 100% sure. [ 0.958068] Frontend yuzu\main.cpp:GMainWindow:275: yuzu Version: yuzu Development Build | master-0b9ef3c0b-dirty [ 0.958095] Frontend yuzu\main.cpp:LogRuntimes:220: MSVC Compiler: 1931 Runtime: 14.32.31326.0 --- src/yuzu/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/yuzu/CMakeLists.txt') diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 1c50295c1..69b46ddd9 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -242,6 +242,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") -- cgit v1.2.3