summaryrefslogtreecommitdiffstats
path: root/CAN-binder/etc/config.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-05 18:28:49 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-05 18:28:49 +0200
commite49eed2b1fffced9f5f8d2b997bb6b987cf208f3 (patch)
tree290083dbd1e0ec9d4c2a99063527ecf72394b6b8 /CAN-binder/etc/config.cmake
parent792d96c11c6b43df1349edcf245a8a31072fa71d (diff)
Update CMake following app-template repo update
Change-Id: Ib24f8c2000f78f5f6fea3126e52f34570e4eee18 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/etc/config.cmake')
-rw-r--r--CAN-binder/etc/config.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/CAN-binder/etc/config.cmake b/CAN-binder/etc/config.cmake
index d03a0ae..7893de0 100644
--- a/CAN-binder/etc/config.cmake
+++ b/CAN-binder/etc/config.cmake
@@ -23,7 +23,10 @@ set(VERSION "1.0")
set(PROJECT_PRETTY_NAME "Low level CAN binding")
set(PROJECT_DESCRIPTION "Expose CAN Low Level APIs through AGL Framework")
set(PROJECT_URL "https://github.com/iotbzh/CAN_signaling")
+set(PROJECT_AUTHOR "Romain Forlot")
+set(PROJECT_AUTHOR_MAIL "romain.forlot@iot.bzh")
set(PROJECT_ICON "icon.png")
+set(PROJECT_LANGUAGES,"C")
# Compilation Mode (DEBUG, RELEASE)
# ----------------------------------
@@ -36,7 +39,7 @@ set(CMAKE_BUILD_TYPE "DEBUG")
# PKG_CONFIG required packages
# -----------------------------
-set (PKG_REQUIRED_LIST
+set (PKG_REQUIRED_LIST
json-c
libsystemd
afb-daemon
@@ -58,7 +61,7 @@ set(CLOSING_MESSAGE "Test with: afb-daemon --rootdir=\$\$(pwd)/low-can-binding/p
# (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]
# ---------------------------------------------------------------------
-set(CMAKE_INSTALL_PREFIX ${HOME}/opt)
+set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt)
set(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib)