Skip to content

cmake: Make sure we also search for dbus interfaces in DESTDIR

Daan De Meyer requested to merge daandemeyer/ksystemstats:fix-destdir into master

Currently, we only look for dbus interfaces in /usr/share. This fails when trying to install using the DESTDIR mechanism on Linux. By adding PATH_SUFFIXES, CMake also searches in share/ subdirectories of directories in the user provided CMAKE_PREFIX_PATH.

Merge request reports