aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-03-29 15:54:56 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-03-29 15:54:56 +0100
commitfb1f28adcf1cf90606ac31425e9370edfa9e70c2 (patch)
tree6c8f12be7f35d488aabe8723abc4ffbcde03dbcd
parent1c9e3f43592f598753355cd72e301b32483985b7 (diff)
Handle Debian-like distro LUA and curl packages
Lua is not handle the same way depending on the distribution so we need to adjust the dependency to find it anyway. Adding the libcurl also for the needed package. Change-Id: Ie6cd9b56f829ccb82ebcf0176cb84f8ad15b57c5 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/config.cmake2
2 files changed, 2 insertions, 1 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/config.cmake b/conf.d/cmake/config.cmake
index b701163..0cead88 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -73,7 +73,7 @@ set (PKG_REQUIRED_LIST
libsystemd>=222
afb-daemon
libmicrohttpd>=0.9.55
- lua>=5.3
+ libcurl
)
# Prefix path where will be installed the files