Skip to content

Commit

Permalink
trying to fix flaky github actions build #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Jul 24, 2024
1 parent 3e94b2c commit 5dba8cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ elseif (MSVC)
endif ()
# SWIG generates large obj files
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
# backward compatible mutex API, see https://github.com/actions/runner-images/issues/10004
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
# exporting symbols for shared libraries needs to enabled explicitly
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
# add option for enabling console in release mode
Expand Down

0 comments on commit 5dba8cf

Please sign in to comment.