We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c89d080 commit 5349251Copy full SHA for 5349251
src/CMakeLists.txt
@@ -70,6 +70,11 @@ if(BUILD_PYTHON)
70
if(UNIX)
71
target_link_libraries(chiavdf PRIVATE -pthread)
72
endif()
73
+ if (WIN32)
74
+ # workaround for constexpr mutex constructor change in MSVC 2022
75
+ # https://stackoverflow.com/questions/78598141/first-stdmutexlock-crashes-in-application-built-with-latest-visual-studio
76
+ target_compile_definitions(chiavdf PUBLIC _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
77
+ endif()
78
79
80
add_executable(verifier_test
0 commit comments