summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2018-11-22 20:42:59 +0100
committerTobias Jahnke <tobias.jahnke@microchip.com>2018-12-18 13:01:13 +0100
commit2999b7e76198d29d6ace13ad0beaecb60e3d77f6 (patch)
tree075a1121c02ae2287dfb511d6e4b466f105aff0e /conf.d/cmake
parent5977f20d5c01189a11eb01109a5f5b270e8e554b (diff)
cmake: enable lua, change project name for install
Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r--conf.d/cmake/config.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index aa32646..7af188c 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -18,7 +18,8 @@
# Project Info
# ------------------
-set(PROJECT_NAME 4a-hal-unicens)
+# Installation folder is in 4a-hal !
+set(PROJECT_NAME 4a-hal)
set(PROJECT_PRETTY_NAME "4A-HAL-UNICENS")
set(PROJECT_DESCRIPTION "Hardware Abastraction Layer for UNICENS/MLD")
set(PROJECT_VERSION "0.9")
@@ -132,7 +133,7 @@ set(CONTROL_SUPPORT_LUA 1 CACHE BOOL "Active or not LUA Support")
add_definitions(-DCTL_PLUGIN_MAGIC=7053042648)
add_definitions(-DCONTROL_CONFIG_PATH="${CMAKE_SOURCE_DIR}/conf.d/project/etc:${CMAKE_BINARY_DIR}/package/etc:${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/etc")
add_definitions(-DCONTROL_PLUGIN_PATH="${CMAKE_BINARY_DIR}/package/lib/plugins:${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/lib/plugins")
-#add_definitions(-DCONTROL_LUA_PATH="${CMAKE_SOURCE_DIR}/conf.d/project/lua.d:${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/var")
+add_definitions(-DCONTROL_LUA_PATH="${CMAKE_SOURCE_DIR}/conf.d/project/lua.d:${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/var")
add_definitions(-DAFB_BINDING_VERSION=3 -DAFB_BINDING_WANT_DYNAPI=1)
# (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]