From 36e0b50d3f81c205b6b8edc2c451d2a90a2dafcc Mon Sep 17 00:00:00 2001 From: jbpezent <40646929+jbpezent@users.noreply.github.com> Date: Mon, 1 Jul 2024 14:18:33 -0500 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63b0f6e..516c68d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,6 +199,13 @@ add_definitions(-DASSET_OS="${CMAKE_SYSTEM_NAME}") add_definitions(-DASSET_OSVERSION="${CMAKE_SYSTEM_VERSION}") add_definitions(-DFMT_HEADER_ONLY) +if(WIN32) +## See : https://developercommunity.visualstudio.com/t/Access-violation-in-_Thrd_yield-after-up/10664660#T-N10669129-N10678728 +add_definitions(-D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) +endif() + + + ################################################################################ ###################### Find and set our dependencies ########################### ################################################################################