diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-03-26 15:38:53 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-03-26 15:38:53 +0200 |
commit | 5b920be490f49f951a99651918b2d2425a8d070c (patch) | |
tree | c1f9de91888451be1fe823db7859195bc4a2f52f /CMakeLists.txt | |
parent | ec6d0f72592a77601f632890d79921b5ca5d90f6 (diff) | |
download | libtdevnc-5b920be490f49f951a99651918b2d2425a8d070c.tar.gz libtdevnc-5b920be490f49f951a99651918b2d2425a8d070c.zip |
CMake: when crosscompiling for Android, don't look for systemd
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c0ce308..f20b4dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,10 +116,10 @@ if(WITH_OPENSSL) endif(WITH_OPENSSL) -if(WITH_SYSTEMD) +if(WITH_SYSTEMD AND NOT ANDROID) find_package(PkgConfig) pkg_check_modules(SYSTEMD "libsystemd") -endif(WITH_SYSTEMD) +endif(WITH_SYSTEMD AND NOT ANDROID) if(WITH_GCRYPT) |