forked from Kistler-Group/sdbus-cpp
chore(cmake): add support for libelogind (#352)
* CMakeLists.txt: Fallback to elogind when libsystemd could not be found. Set LIBSYSTEMD variable. * pkgconfig/sdbus-c++.pc.in (Description): Parameterize with above LIBSYSTEMD variable. Co-authored-by: Sven Eden <sven.eden@prydeworx.com>
This commit is contained in:
@@ -5,7 +5,7 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
|
||||
Name: @PROJECT_NAME@
|
||||
Description: C++ library on top of sd-bus, a systemd D-Bus library
|
||||
Requires@PKGCONFIG_REQS@: libsystemd
|
||||
Requires@PKGCONFIG_REQS@: @LIBSYSTEMD@
|
||||
Version: @SDBUSCPP_VERSION@
|
||||
Libs: -L${libdir} -l@PROJECT_NAME@
|
||||
Cflags: -I${includedir}
|
||||
|
||||
Reference in New Issue
Block a user