Revert "Disable problematic MSVC mutex flag temporarily"

This reverts commit 3263ef8455.
This commit is contained in:
Lukas Dürrenberger 2024-06-10 22:30:26 +02:00 committed by Chris Thrasher
parent c71d456550
commit 8428fcac18

View File

@ -31,12 +31,6 @@ function(sfml_set_stdlib target)
if(SFML_USE_STATIC_STD_LIBS)
set_property(TARGET ${target} PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>: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()