From acfd54c6dbe23be5169e6a0e2b9dc7fb8aeb89df Mon Sep 17 00:00:00 2001 From: iAmir Date: Mon, 22 Dec 2025 14:04:12 +0330 Subject: [PATCH] fix microsoft's shitty ABI compat breakage --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index aecb44b7b..47cb10837 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,6 +96,7 @@ if(WIN32) -DWIN32_LEAN_AND_MEAN -D_CRT_DECLARE_NONSTDC_NAMES -D_CRT_NONSTDC_NO_WARNINGS + -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR ) elseif(CMAKE_CXX_COMPILER_ID STREQUAL GNU) add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)