diff options
Diffstat (limited to 'cmake/FindLibsystemd.cmake')
-rw-r--r-- | cmake/FindLibsystemd.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/FindLibsystemd.cmake b/cmake/FindLibsystemd.cmake index 9c0082fd39..09c6452932 100644 --- a/cmake/FindLibsystemd.cmake +++ b/cmake/FindLibsystemd.cmake @@ -1,3 +1,7 @@ find_package(PkgConfig) pkg_check_modules(Libsystemd systemd IMPORTED_TARGET) + +if (NOT TARGET PkgConfig::Libsystemd) + set(Libsystemd_FOUND 0) +endif() |