summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-06-06 09:39:43 +0200
committerFrédéric Marec <frederic.marec@iot.bzh>2019-06-06 07:57:33 +0000
commit20017a4987af896845daec932c06a48924847051 (patch)
tree236b1e8efe35fe63ac1a550a62446793285f3767
parente3ba05fb78f0c1c8aa7a7b6d85ea58bc7e110821 (diff)
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 <frederic.marec@iot.bzh> Change-Id: I581713980c38a3cadcfebe10d2a9ba90b826fe34
-rw-r--r--src/cmake/cmake.d/02-variables.cmake2
1 files changed, 1 insertions, 1 deletions
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()