From de4a17303f1b0c11128ee7c86b5d375004de6d7a Mon Sep 17 00:00:00 2001 From: Quentin <837334+xiaoxiao921@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:59:52 +0200 Subject: [PATCH] static link the vcruntime due to some people not having latest vcruntime dll installed on their machine (#3299) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1970c3b6..7fc0e5ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.20) +set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") + project(YimMenu CXX ASM_MASM) if (NOT MSVC)