Skip to content

Commit

Permalink
MSVC: Fix crash with std::mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 16, 2024
1 parent da2ae11 commit fe6c94c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ macro(SetGlobalCompilerAndLinkerSettings)

if(MSVC)
# set default compiler settings
add_definitions(-D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zm150 /bigobj")
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DFC_DEBUG /Zm150 /bigobj")
# set default libs
Expand Down

0 comments on commit fe6c94c

Please sign in to comment.