summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2019-05-28 17:05:47 +0200
committerClément Bénier <clement.benier@iot.bzh>2019-05-28 15:31:13 +0000
commit0b8134b8f5717942c7b77130de728e86eecf99b2 (patch)
treeb141622853bcbe4d5523945a297eb464aea4f0dd
parent7061edf1849de1bb1730df92d23aa52a6793a609 (diff)
02-variables.cmake: fix project cmake-commands
Set all options in the cmake-commands named project. Add HOMEPAGE_URL and DESCRIPTION options. BUG-AGL: SPEC-2464 Change-Id: I55c6ba7136df80f0f5679be2e9cbd0410afd3630 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
-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 e682078..f95db48 100644
--- a/src/cmake/cmake.d/02-variables.cmake
+++ b/src/cmake/cmake.d/02-variables.cmake
@@ -91,7 +91,7 @@ endif()
# Release additionnals informations isn't supported so setting project
# attributes then add the dirty flag if git repo not sync'ed
-project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES ${PROJECT_LANGUAGES})
+project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES ${PROJECT_LANGUAGES} DESCRIPTION ${PROJECT_DESCRIPTION} HOMEPAGE_URL ${PROJECT_URL})
if(NOT ${DIRTY_FLAG})
set(PROJECT_VERSION "${PROJECT_VERSION}-${COMMIT_HASH}-dirty")
else()