diff options
author | Frederic Marec <frederic.marec@iot.bzh> | 2019-06-06 09:39:43 +0200 |
---|---|---|
committer | Frederic Marec <frederic.marec@iot.bzh> | 2019-06-06 09:39:43 +0200 |
commit | f46dcf2d8fc0eeb65b6441eca8ab86d48b4f239f (patch) | |
tree | c1f7723baf96188ddb104036e2d5fdc911d26e7e | |
parent | 1e0f297f4a3f4ac13d704d8926a71adf6331c766 (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.cmake | 2 |
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() |