diff options
author | David Faure <faure@kde.org> | 2020-05-08 11:13:15 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2020-05-08 11:13:23 +0200 |
commit | 856fc410bf5337295d0ff1bcb9b746d2b7811fc4 (patch) | |
tree | c97b1b19470d6ceacfd04db3085e81d8c805e7ce /CMakeLists.txt | |
parent | 8d181637a0334eff48bebd8b6e21db3884f3c180 (diff) | |
download | extra-cmake-modules-856fc410bf5337295d0ff1bcb9b746d2b7811fc4.tar.gz extra-cmake-modules-856fc410bf5337295d0ff1bcb9b746d2b7811fc4.tar.bz2 |
ECMGeneratePriFile: make the pri files relocatable
Summary:
Instead of generating
QT.KArchive.includes = /full/path/include/KF5/KArchive
make it
QT.KArchive.includes = $$PWD/../../include/KF5/KArchive
This makes the whole install prefix relocatable after the fact,
the includes will be found based on where the .pri file ended up.
This is especially useful for Conan support, says Bogdan.
Test Plan: After make install in ECM, cd karchive/examples/helloworld && qmake && make
Reviewers: vatra, kfunk, apol, vkrause
Reviewed By: vkrause
Subscribers: ablu, kossebau, kde-frameworks-devel, kde-buildsystem
Tags: #frameworks, #build_system
Differential Revision: https://phabricator.kde.org/D29274
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions