Patch .pri and .cmake files
Reviewers: bcooksley, kfunk
Differential Revision: https://phabricator.kde.org/D16086