summaryrefslogtreecommitdiffstats
path: root/cmake/config.cmake
diff options
context:
space:
mode:
authorRick Lei <ricklei@gmail.com>2015-01-14 15:11:43 +0100
committerRick Lei <ricklei@gmail.com>2015-01-14 15:11:43 +0100
commitc4378784ae2caec57634f9f04bcb3dcddc673f36 (patch)
tree70bbdb1c348803006a7cbf2092da65312720a386 /cmake/config.cmake
parent133cee578e04e561bb17e37393bbf7e427522560 (diff)
downloadfastd-c4378784ae2caec57634f9f04bcb3dcddc673f36.tar
fastd-c4378784ae2caec57634f9f04bcb3dcddc673f36.zip
Add Android 4.1+ support. See doc/README-Android.md for build HOWTO.
* Update CMake files to work with android-cmake * Use unix domain socket for communicating with Android GUI * May also run standalone but requires rooted Android device
Diffstat (limited to 'cmake/config.cmake')
-rw-r--r--cmake/config.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/config.cmake b/cmake/config.cmake
index 8aa6549..e6b70a2 100644
--- a/cmake/config.cmake
+++ b/cmake/config.cmake
@@ -34,9 +34,9 @@ set(ENABLE_OPENSSL FALSE CACHE BOOL "Enable crypto implementations using OpenSSL
set(ENABLE_LTO FALSE CACHE BOOL "Enable link-time optimization")
-if(LINUX)
+if(LINUX AND NOT ANDROID)
set(ENABLE_SYSTEMD TRUE CACHE BOOL "Enable systemd support")
-endif(LINUX)
+endif(LINUX AND NOT ANDROID)
set(WITH_CMDLINE_USER TRUE CACHE BOOL "Include support for setting user/group related options on the command line")
set(WITH_CMDLINE_LOGGING TRUE CACHE BOOL "Include support for setting logging related options on the command line")