summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-09-27 15:12:46 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-09-27 14:30:43 +0000
commit1daaaf74a63a09702b65676ba18f559d3c6ebc83 (patch)
treedd36cc8f59267ec7d98a11b3e7aca694f2a5ec1d
parentfe1a018d000336708243af0baff2e3822aff0894 (diff)
Fix libsystemd find module name
At least on Ubuntu the name of the pkg config package is libsystemd and not systemd. This fixes libsystemd showing up as not found in the feature summary. Change-Id: I099a253026ca8096b9e2f348a5f35209d44acc6c Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: Qt CMake Build Bot
-rw-r--r--cmake/FindLibsystemd.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindLibsystemd.cmake b/cmake/FindLibsystemd.cmake
index 09c6452932..9b480700f9 100644
--- a/cmake/FindLibsystemd.cmake
+++ b/cmake/FindLibsystemd.cmake
@@ -1,6 +1,6 @@
find_package(PkgConfig)
-pkg_check_modules(Libsystemd systemd IMPORTED_TARGET)
+pkg_check_modules(Libsystemd libsystemd IMPORTED_TARGET)
if (NOT TARGET PkgConfig::Libsystemd)
set(Libsystemd_FOUND 0)