Use pkg-configs imported target to link against DBus
To use -ldbus, the value of ${DBus_LIBARARY_DIR} would also need to be added to the linker search paths.
To get around this, simply use the imported target by pkgconfig.
[1] b8b30ba5
To use -ldbus, the value of ${DBus_LIBARARY_DIR} would also need to be added to the linker search paths.
To get around this, simply use the imported target by pkgconfig.
[1] b8b30ba5