From 683e2cab5aeabb99d9b3c428073819366f3db709 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 4 Dec 2017 23:30:23 +0100 Subject: Fix LUA path not set Change-Id: I85f0299c3612fd8cfa39241db05d76c7adbbc86d Signed-off-by: Romain Forlot --- conf.d/cmake/config.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index 524b03c..2fbb6eb 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -131,6 +131,7 @@ list(APPEND link_libraries afb-utilities lua-lib) set(CONTROL_SUPPORT_LUA 1) add_definitions(-DCONTROL_PLUGIN_PATH="${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/lib/plugins:${CMAKE_BINARY_DIR}/package/lib/plugins") add_definitions(-DCONTROL_CONFIG_PATH="${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/etc:${CMAKE_BINARY_DIR}/package/etc") +add_definitions(-DCONTROL_LUA_PATH="${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/data:${CMAKE_BINARY_DIR}/package/data") add_definitions(-DCTL_PLUGIN_MAGIC=3286576532) # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] -- cgit 1.2.3-korg