diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-17 10:03:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-17 16:03:34 +0200 |
| commit | 5d794eabafa49e14702da5aa32b414c22a2adefb (patch) | |
| tree | 447e68ca5b00a26dcacca689131cfddfd1d411db /src/CMakeLists.txt | |
| parent | ec3d07e68373f29e098acb014d8c27d48a5151ec (diff) | |
cmake: mark warning disable for gcc 11 (#11301)
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2da983cad8..7bb88c8ea1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -134,7 +134,7 @@ else() endif() # 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 # and produce bogus errors on external libraries like fmt. add_compile_options( |
