diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c9acc5c0c..1ed1b49645 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,7 @@ if (CMAKE_COMPILER_IS_GNUCC) message(STATUS "Detected gcc > 4.4.7 - switching on support for c++1y") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y") endif (GCC_VERSION VERSION_GREATER 4.4.7) - endif (GCC_VERSION VERSION_GREATER 11.0) + endif (GCC_VERSION VERSION_GREATER 7.0) endif (CMAKE_COMPILER_IS_GNUCC) # CTA continue using the old ABI, so we should force it. This command only works on cmake3,