From a722360cabec23384d347aa1e534b2cbe5d999e4 Mon Sep 17 00:00:00 2001 From: MistEO Date: Thu, 13 Jun 2024 00:59:56 +0800 Subject: [PATCH] chore: add notes --- cmake/config.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/config.cmake b/cmake/config.cmake index 8fef7975e..dc179c623 100644 --- a/cmake/config.cmake +++ b/cmake/config.cmake @@ -10,6 +10,9 @@ if(MSVC) add_compile_options("/W4;/WX;/Gy;/permissive-;/sdl") add_compile_options("/wd4127") # conditional expression is constant add_compile_options("/wd4251") # export dll with templates + + # https://github.com/actions/runner-images/issues/10004 + # https://github.com/microsoft/STL/releases/tag/vs-2022-17.10 add_compile_definitions("_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR") set(rel_debug_comp_options "/Od")