From 13e29fc2248fa49a63b46d17c62e63adc1035efa Mon Sep 17 00:00:00 2001 From: Ye Luo Date: Wed, 11 Nov 2020 23:33:02 -0600 Subject: [PATCH] Raise GCC minimal to 7.0 --- CMake/GNUCompilers.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMake/GNUCompilers.cmake b/CMake/GNUCompilers.cmake index 06037ac95..789a0b056 100644 --- a/CMake/GNUCompilers.cmake +++ b/CMake/GNUCompilers.cmake @@ -1,6 +1,6 @@ # Check compiler version -IF ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0 ) -MESSAGE(FATAL_ERROR "Requires gcc 5.0 or higher ") +IF ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0 ) +MESSAGE(FATAL_ERROR "Requires gcc 7.0 or higher ") ENDIF() # Set the std