Skip to content
Snippets Groups Projects
Commit f620ff40 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

Don't use cmake VERSION_GREATER_EQUAL comparison

This is to appease cmake 3.5.1 on Ubuntu 16.04
parent 3bd5a4ca
Branches
Tags
1 merge request!591Don't accept Vc versions <1.4.1 with Clang versions >=7
Pipeline #15230 passed
......@@ -38,7 +38,7 @@ find_package(TBB OPTIONAL_COMPONENTS cpf allocator)
# try to find the Vc library
set(MINIMUM_VC_VERSION)
if((CMAKE_CXX_COMPILER_ID STREQUAL Clang) AND
(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 7))
(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7))
message("Raising minimum acceptable Vc version to 1.4.1 due to use of Clang 7 (or later), see https://gitlab.dune-project.org/core/dune-common/issues/132")
set(MINIMUM_VC_VERSION 1.4.1)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment