Skip to content

Commit

Permalink
Set _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR when building
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Sep 10, 2024
1 parent 9fd65e9 commit 9969db0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ target_include_directories(uint128 PUBLIC uint128_t)

target_compile_features(fse PUBLIC cxx_std_17)
target_compile_features(chiapos PUBLIC cxx_std_17)
if (WIN32)
target_compile_definitions(chiapos PUBLIC _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
endif()
# target_compile_features(RunTests PUBLIC cxx_std_17)

target_link_libraries(chiapos PRIVATE fse Threads::Threads
Expand Down

0 comments on commit 9969db0

Please sign in to comment.