Raise GCC minimal to 7.0

This commit is contained in:
Ye Luo 2020-11-11 23:33:02 -06:00
parent b80b9dd774
commit 13e29fc224
1 changed files with 2 additions and 2 deletions

View File

@ -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