Skip to content

Commit

Permalink
Revert "Disable problematic MSVC mutex flag temporarily"
Browse files Browse the repository at this point in the history
This reverts commit 3263ef8.
  • Loading branch information
eXpl0it3r committed Jun 12, 2024
1 parent 1f1383d commit c59bb39
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmake/Macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c59bb39

Please sign in to comment.