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-12-12 17:36:29 +0100
commit67f8a0625fba4de154cc08c56de9a0730adfdaa9 (patch)
tree46ef7bdea4a67891416456f4a0ff8baf7011abde
parent870d0e50f0893c515a81e864cf07491b3d9749f9 (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)