Commit 4eb15418 authored by Jonathan Riddell's avatar Jonathan Riddell 🏄

Use new systemd pkgconfig file

libsystemd-{journal,login,id128,daemon} were merged into a single
libsystemd with systemd >=209. there were stubs though which were
removed with >=229
parent 3887eabe
......@@ -15,7 +15,7 @@
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_JOURNALD QUIET libsystemd-journal)
pkg_check_modules(PC_JOURNALD QUIET systemd)
set(JOURNALD_FOUND ${PC_JOURNALD_FOUND})
set(JOURNALD_DEFINITIONS ${PC_JOURNALD_CFLAGS_OTHER})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment