Skip to content

Commit

Permalink
Use old Mutex constructor to deal with redist incompatibility (#704)
Browse files Browse the repository at this point in the history
See GitHub PR for detailed explanation
  • Loading branch information
Jan200101 authored Jun 14, 2024
1 parent 220b7a1 commit a06319c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_C_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_VS_PLATFORM_TOOLSET v143)
# Deal with MSVC incompatiblity
add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)

# This determines the real binary root directory
set(NS_BINARY_DIR ${CMAKE_BINARY_DIR}/game)
Expand Down

0 comments on commit a06319c

Please sign in to comment.