mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Revert "Disable problematic MSVC mutex flag temporarily"
This reverts commit 3263ef8455
.
This commit is contained in:
parent
c71d456550
commit
8428fcac18
@ -31,12 +31,6 @@ function(sfml_set_stdlib target)
|
|||||||
if(SFML_USE_STATIC_STD_LIBS)
|
if(SFML_USE_STATIC_STD_LIBS)
|
||||||
set_property(TARGET ${target} PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
set_property(TARGET ${target} PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||||
endif()
|
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()
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
Loading…
Reference in New Issue
Block a user