Skip to content
Snippets Groups Projects
Unverified Commit 0e3a995b authored by liamwhite's avatar liamwhite Committed by GitHub
Browse files

cmake: mark warning disable for gcc 11 (#11301)

parent a8c4f01f
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ else() ...@@ -134,7 +134,7 @@ else()
endif() endif()
# GCC bugs # GCC bugs
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "11" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# These diagnostics would be great if they worked, but are just completely broken # These diagnostics would be great if they worked, but are just completely broken
# and produce bogus errors on external libraries like fmt. # and produce bogus errors on external libraries like fmt.
add_compile_options( add_compile_options(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment