add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) if(MEDIA_KIT_LIBS_AVAILABLE) # Add media_kit_native_event_loop target. 3 changes: 3 additions & 0 deletions 3 media_kit_video/windows/CMakeLists.txt Original file line numberDiff line numberDiff line change @@ -17,6 +17,9 @...
Set_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTORwhen building on windows#449 Merged emlowemerged 2 commits intomainfromEL.constexpr-mutex Sep 11, 2024 +5−0 Contributor emlowecommentedSep 10, 2024 There was a change in VS 2022 to make VS more compliant with the C++ standard and make std::mutex a...
chiavdfmay not have the same problem aschiapos- but this change seems like a good preventative measure just in case there is some future code that might cause issues
add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) if(MEDIA_KIT_LIBS_AVAILABLE) #Add media_kit_native_event_loop target. Expand Down 3 changes: 3 additions & 0 deletions3media_kit_video/windows/CMakeLists.txt Original file line numberDiff line numberDiff line change ...