Raise clang minimal version to 7.

This commit is contained in:
Ye Luo 2020-10-15 16:06:57 -05:00
parent 2b853b6eaa
commit 1baf4f9de6
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Check compiler version
IF ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.4 )
IF ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0 )
MESSAGE(STATUS "Compiler Version ${CMAKE_CXX_COMPILER_VERSION}")
MESSAGE(FATAL_ERROR "Requires clang 3.4 or higher ")
MESSAGE(FATAL_ERROR "Requires clang 7.0 or higher ")
ENDIF()
# Set the std