Skip to content

Use PACKAGE_PREFIX_DIR before any find_dependency() calls

Volker Krause requested to merge work/fix-kscreenlocker-cmake-config into master

PACKAGE_PREFIX_DIR will be used in the generated code of the @PACKAGE_@ placeholder, and can be changed by find_dependency() calls. Worked by chance so far, but happens with Qt6. This then results in build failures in consumers trying to locate kscreenlocker's D-Bus files.

Merge request reports