summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2020-11-12 08:43:57 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2020-11-12 08:51:17 +0100
commitc84823f3981b56171482b41d2b704c32cdd8062a (patch)
tree57e721df059c18883cc35ed38119f4521d419be8 /CMakeLists.txt
parent200ddeac727a0037efb193a9e6eb93721dc84c3d (diff)
The version 2.1 fixes a database issue. Bug-AGL: SPEC-3677 Change-Id: I5c8e4595894ee26a2018f939a42ba0b8abcad722 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a508bb..20afd07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,12 +16,12 @@
# limitations under the License.
###########################################################################
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.12)
project(cynagora
DESCRIPTION "Secured permission database for applications"
HOMEPAGE_URL "https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/cynagora.git;a=summary"
- VERSION 2.0
+ VERSION 2.1
LANGUAGES C
)
@@ -64,6 +64,8 @@ add_compile_options(-Werror=implicit-function-declaration)
add_compile_options(-ffunction-sections -fdata-sections)
#add_compile_options(-ffile-prefix-map=${CMAKE_SOURCE_DIR}=.)
+add_compile_definitions(VERSION="${PROJECT_VERSION}")
+
###########################################################################
if(WITH_SYSTEMD)