Skip to content

Commit

Permalink
cmake: Require GCC 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfonseca committed Jan 23, 2021
1 parent 6df2d0c commit 37c36e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -295,10 +295,10 @@ else ()
message (FATAL_ERROR "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} compiler does not support C++17")
endif ()

# We require at least GCC 5.0 for decent C++17 support
# We require at least GCC 7.0 for decent C++17 support
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND
CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.0")
message (FATAL_ERROR "GCC 5.0 or later required -- https://github.com/apitrace/apitrace/wiki/GCC")
CMAKE_CXX_COMPILER_VERSION VERSION_LESS "7.0")
message (FATAL_ERROR "GCC 7.0 or later required -- https://github.com/apitrace/apitrace/wiki/GCC")
endif ()

# Adjust warnings
Expand Down

0 comments on commit 37c36e6

Please sign in to comment.