From 0cfae862cd8e9d826bfdb793cc9877374fd9229b Mon Sep 17 00:00:00 2001 From: derrod Date: Sun, 9 Jun 2024 23:35:40 +0200 Subject: [PATCH] updater: Compile with static VC runtime --- UI/win-update/updater/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UI/win-update/updater/CMakeLists.txt b/UI/win-update/updater/CMakeLists.txt index 635e9029a..1438172d5 100644 --- a/UI/win-update/updater/CMakeLists.txt +++ b/UI/win-update/updater/CMakeLists.txt @@ -40,4 +40,8 @@ target_link_libraries( # zstd is hardcoded with /DEFAULTLIB:LIBCMT target_link_options(updater PRIVATE /NODEFAULTLIB:LIBCMT) -set_target_properties(updater PROPERTIES FOLDER frontend OUTPUT_NAME updater) +set_target_properties( + updater + PROPERTIES FOLDER frontend + OUTPUT_NAME updater + MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>")