summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake/00-suse-config.cmake
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-03 09:52:35 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:51:00 +0200
commit7d879a6e180193d772896ba20b8c1c7d53e2a14f (patch)
treeef9bdb006d8c0e20a6f1d62e216e555cfafb350e /conf.d/cmake/00-suse-config.cmake
parentee5447ca5751b7cd49fdbb7c59ed0e2c195796f9 (diff)
Add compilation configuration
Add compilation configuration for 4a-hal-gezneric project. Change-Id: If5bc696cbf3170923ea67cef301c71720a70fe70 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'conf.d/cmake/00-suse-config.cmake')
-rw-r--r--conf.d/cmake/00-suse-config.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.d/cmake/00-suse-config.cmake b/conf.d/cmake/00-suse-config.cmake
new file mode 100644
index 0000000..b8bac32
--- /dev/null
+++ b/conf.d/cmake/00-suse-config.cmake
@@ -0,0 +1,3 @@
+add_definitions(-DSUSE_LUA_INCDIR)
+list(APPEND PKG_REQUIRED_LIST lua>=5.3)
+add_compile_options(-DUSE_API_DYN)