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 17:29:30 +0200
commit9ad5e65f72f79ea4a608b7028d6ee16c5d10e342 (patch)
treeef53a6b385894830c3ef996bec3d5bc8b50f82b0
parent74fd1a59f7f70008385f2e1797907bb05d500ee7 (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()