diff --git a/cmake/modules/CompilerFlags.cmake b/cmake/modules/CompilerFlags.cmake index 5a5d956a42..7eccbc0d70 100644 --- a/cmake/modules/CompilerFlags.cmake +++ b/cmake/modules/CompilerFlags.cmake @@ -106,8 +106,12 @@ else() # MSVC set(CMAKE_C_FLAGS_RELEASE "${FALCOSECURITY_LIBS_RELEASE_FLAGS}") set(CMAKE_CXX_FLAGS_RELEASE "${FALCOSECURITY_LIBS_RELEASE_FLAGS}") + # "_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR" enables a + # workaround for windows GH runner issue, see + # https://github.com/actions/runner-images/issues/10004 add_compile_definitions( _HAS_STD_BYTE=0 WIN32_LEAN_AND_MEAN + _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR ) endif()