From ede2000d2c4f9e0e42725caf80b7608cf8a6ca4d Mon Sep 17 00:00:00 2001 From: crueter Date: Fri, 8 May 2026 14:38:11 -0400 Subject: [PATCH] Use static runtime on arm64 Signed-off-by: crueter --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1142585b6d..7a2ed17c1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,9 @@ cmake_dependent_option(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" "${MSV # non-linux bundled qt are static if (YUZU_USE_BUNDLED_QT AND (APPLE OR NOT UNIX)) set(YUZU_STATIC_BUILD ON) + if (MSVC AND ARCHITECTURE_arm64) + set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreaded) + endif() endif() # TODO: does mingw need any of this anymore