summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-10-26 10:45:00 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-26 10:45:00 +0200
commita50f22bf445407175dfb4cfa55f68970a0e27379 (patch)
tree85f49abdd96e82c9c91a5ebf908a74acfe34dfda
parent91e90e59a593bea0ef1771a860140ae347692910 (diff)
Adjust lib dependencies
This ensure that the project build under debian like distro and also rpm based distributions. Change-Id: I1c0b49163253f5c9ad06a2cdbc6c7b1b8b739f84 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--conf.d/cmake/00-debian-osconfig.cmake1
-rw-r--r--conf.d/cmake/00-opensuse-config.cmake2
2 files changed, 1 insertions, 2 deletions
diff --git a/conf.d/cmake/00-debian-osconfig.cmake b/conf.d/cmake/00-debian-osconfig.cmake
new file mode 100644
index 0000000..6291a0d
--- /dev/null
+++ b/conf.d/cmake/00-debian-osconfig.cmake
@@ -0,0 +1 @@
+list(APPEND PKG_REQUIRED_LIST lua53>=5.3)
diff --git a/conf.d/cmake/00-opensuse-config.cmake b/conf.d/cmake/00-opensuse-config.cmake
deleted file mode 100644
index 8c8303b..0000000
--- a/conf.d/cmake/00-opensuse-config.cmake
+++ /dev/null
@@ -1,2 +0,0 @@
-add_definitions(-DSUSE_LUA_INCDIR)
-list(APPEND PKG_REQUIRED_LIST lua>=5.3)