From: Konstantinos Margaritis Date: Mon, 6 Dec 2021 21:35:37 +0000 (+0000) Subject: lower gcc minver to 9 to enable building on Ubuntu 20 LTS X-Git-Tag: vectorscan/5.4.6^2~3^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=deeb113977af4ef2fb72c6c7551cf56d19be3291;p=thirdparty%2Fvectorscan.git lower gcc minver to 9 to enable building on Ubuntu 20 LTS --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3485e5f8..76bca813 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -259,7 +259,7 @@ set(ARCH_CXX_FLAGS "-${ARCH_FLAG}=${GNUCC_ARCH} -mtune=${TUNE_FLAG} ${ARCH_CXX_F # compiler version checks TODO: test more compilers if (CMAKE_COMPILER_IS_GNUCXX) - set(GNUCXX_MINVER "10") + set(GNUCXX_MINVER "9") message(STATUS "g++ version ${CMAKE_CXX_COMPILER_VERSION}") if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS GNUCXX_MINVER) message(FATAL_ERROR "A minimum of g++ ${GNUCXX_MINVER} is required for C++17 support")