Change-Id: I9308f52939a943ecf5e2cc2a7e7d793a580ca150
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: pkgconfig(audit)
-BuildRequires: pkgconfig(libsystemd-journal)
+BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(security-manager)
%{?systemd_requires}
OPTION(WITH_JOURNALD "Use journald to log denials. Syslog will be used otherwise" OFF)
IF(WITH_JOURNALD)
- PKG_CHECK_MODULES(journald REQUIRED libsystemd-journal)
+ PKG_CHECK_MODULES(journald REQUIRED libsystemd)
ELSE(WITH_JOURNALD) # journald may still be possibly used for informational logging
- PKG_CHECK_MODULES(journald QUIET libsystemd-journal)
+ PKG_CHECK_MODULES(journald QUIET libsystemd)
ENDIF(WITH_JOURNALD)
IF(journald_FOUND)