dfaure added a comment.
Hi @ablu, Could you test if my patch in D29274 <https://phabricator.kde.org/D29274> solves your problem? By making these lines relative to the location of the .pri file, it should work very well in a sysroot context as well. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D29096 To: ablu, #build_system, apol, vkrause, kfunk Cc: dfaure, kossebau, kde-frameworks-devel, kde-buildsystem, LeGast00n, cblack, bencreasy, michaelh, ngraham, bruns