We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0806e24 commit 5b2ce23Copy full SHA for 5b2ce23
1 file changed
windows/CMakeLists.txt
@@ -7,6 +7,10 @@ cmake_policy(SET CMP0063 NEW)
7
8
set(CMAKE_INSTALL_RPATH "$ORIGIN/lib")
9
10
+# Avoiding crashes caused by msvcp140!mtx_do_lock
11
+# reference: https://github.com/microsoft/STL/wiki/Changelog#vs-2022-1710
12
+add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
13
+
14
# Configure build options.
15
get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
16
if(IS_MULTICONFIG)
0 commit comments