Skip to content

Commit

Permalink
CI: Fix build with gcc14
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed May 10, 2024
1 parent 8879794 commit 0bd8313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (Bonmin_FOUND)
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7)
set_source_files_properties (Base/Optim/Bonmin.cxx Base/Optim/BonminProblem.cxx PROPERTIES COMPILE_FLAGS "-Wno-error=unused-parameter")
else ()
set_source_files_properties (Base/Optim/Bonmin.cxx Base/Optim/BonminProblem.cxx PROPERTIES COMPILE_FLAGS "-Wno-error=unused-parameter -Wno-error=implicit-fallthrough")
set_source_files_properties (Base/Optim/Bonmin.cxx Base/Optim/BonminProblem.cxx PROPERTIES COMPILE_FLAGS "-Wno-error=unused-parameter -Wno-error=implicit-fallthrough -Wno-error=overloaded-virtual")
endif ()
endif ()
endif ()
Expand Down

0 comments on commit 0bd8313

Please sign in to comment.