From 64b84ec9a342535e44617698676a96aa9007d0ed Mon Sep 17 00:00:00 2001 From: Kasper Isager Date: Tue, 12 Mar 2024 13:17:00 +0100 Subject: [PATCH] Compile against static CRT --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d7be7f..f010da6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,9 +12,13 @@ mirror_drive( SOURCE qogbhqbcxknrpeotyz7hk4x3mxuf6d9mhb1dxm6ms5sdn6hh1uso DESTINATION ${PROJECT_SOURCE_DIR}/prebuilds PREFIX /${target} - CHECKOUT 113 + CHECKOUT 115 ) +if(MSVC) + add_compile_options(/MT$<$:d>) +endif() + if(NOT TARGET uv) add_subdirectory(vendor/libuv EXCLUDE_FROM_ALL) endif()