Use static runtime on arm64

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2026-05-08 14:38:11 -04:00
parent 4482d5e5cb
commit ede2000d2c
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6

View file

@ -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