From 20017a4987af896845daec932c06a48924847051 Mon Sep 17 00:00:00 2001 From: Frederic Marec Date: Thu, 6 Jun 2019 09:39:43 +0200 Subject: 02-variables.cmake: project options for 3.12.4 cmake variable VERSION_GREATER_EQUAL are available in cmake 3.7 opensuse 42.3 and ubuntu 16.04 use cmake 3.6 we need to use VERSION_GREATER variable for compatibility BUG-AGL: SPEC-2464 Signed-off-by: Frederic Marec Change-Id: I581713980c38a3cadcfebe10d2a9ba90b826fe34 --- src/cmake/cmake.d/02-variables.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmake/cmake.d/02-variables.cmake b/src/cmake/cmake.d/02-variables.cmake index 69c7b6a..eb4bec4 100644 --- a/src/cmake/cmake.d/02-variables.cmake +++ b/src/cmake/cmake.d/02-variables.cmake @@ -100,7 +100,7 @@ endif() # Release additionnals informations isn't supported so setting project # attributes then add the dirty flag if git repo not sync'ed -if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12.0) +if(CMAKE_VERSION VERSION_GREATER 3.11) if(HOMEPAGE_URL) project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES ${PROJECT_LANGUAGES} DESCRIPTION ${PROJECT_DESCRIPTION} HOMEPAGE_URL ${PROJECT_URL}) else() -- cgit 1.2.3-korg