1
0
Fork 0

allow compilation with g++9

This commit is contained in:
jsteemann 2019-06-05 10:57:12 +02:00
parent 0359a0acda
commit 5a3967dc49
1 changed files with 2 additions and 2 deletions

View File

@ -555,8 +555,8 @@ endif ()
if (CMAKE_COMPILER_IS_GNUCC)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.4")
message(FATAL_ERROR "ArangoDB requires g++ 5.4 or newer.")
elseif(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "8.9.9")
message(FATAL_ERROR "ArangoDB doesn't support g++ 9.0 yet.")
elseif(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "9.9.9")
message(FATAL_ERROR "ArangoDB doesn't support g++ 10.0 yet.")
endif()
set(BASE_C_FLAGS "${BASE_C_FLAGS}")
endif ()