X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=03aae0fb9b2cd7bfdfbd24675c6b35f10d9eecbc;hb=refs%2Fheads%2Feel;hp=45ac19c50265d34bb1bd737d424e9d49b5565ef3;hpb=fcc925c4a6d7bc82106f6c8da13b1a58a7b23115;p=src%2Fapp-framework-main.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 45ac19c..03aae0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,9 +16,9 @@ # limitations under the License. ########################################################################### -project(afm-main C) +cmake_minimum_required(VERSION 3.4.3) -cmake_minimum_required(VERSION 2.8) +project(afm-main C) include(GNUInstallDirs) include(CTest) @@ -26,7 +26,8 @@ include(CTest) set(PROJECT_NAME "AFM Main") set(PROJECT_PRETTY_NAME "Application Framework Main") set(PROJECT_DESCRIPTION "Secured Application framework for Automotive Grade Linux") -set(PROJECT_VERSION "1.0") +set(PROJECT_VERSION "5.0.0-EE") +set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/app-framework-main.git;a=summary") set(USE_LIBZIP ON CACHE BOOL "should try to use libzip?") set(USE_SIMULATION OFF CACHE BOOL "if set simulates security manager and smack") @@ -64,6 +65,7 @@ add_definitions( -DFWK_UNIT_CONF="${afm_confdir}/afm-unit.conf" -DFWK_USER_APP_DIR_LABEL="${afm_user_appdir_label}" -DSYSTEMD_UNITS_ROOT="${systemd_units_root}" + -DAFM_VERSION="${PROJECT_VERSION}" ) add_subdirectory(src)