From 8428fcac184c5e4106d966ff9358ec27a8098b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Mon, 10 Jun 2024 22:30:26 +0200 Subject: [PATCH] Revert "Disable problematic MSVC mutex flag temporarily" This reverts commit 3263ef84553e02ed0c2b76bbae765dbc866812f2. --- cmake/Macros.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmake/Macros.cmake b/cmake/Macros.cmake index 89447491e..919b6d4f4 100644 --- a/cmake/Macros.cmake +++ b/cmake/Macros.cmake @@ -31,12 +31,6 @@ function(sfml_set_stdlib target) if(SFML_USE_STATIC_STD_LIBS) set_property(TARGET ${target} PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") endif() - - # Workaround for runtime issue on Windows: https://github.com/actions/runner-images/issues/10004 - target_compile_definitions(${target} PRIVATE _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) - elseif(SFML_COMPILER_CLANG AND NOT MINGW) - # Workaround for runtime issue on Windows: https://github.com/actions/runner-images/issues/10004 - target_compile_definitions(${target} PRIVATE _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) endif() endif() endfunction()