diff options
author | David Faure <faure@kde.org> | 2019-03-05 11:46:54 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2019-03-05 15:40:26 +0100 |
commit | bb8c053d9d41df3946b064384cbaa3ecb12f231f (patch) | |
tree | 420073b8aa7d5a5e122d8a5eb5c65778f40390a5 /tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc | |
parent | 8999b7bd6f6d1505c1b59b48432a3cfa4a90a2f8 (diff) | |
download | extra-cmake-modules-bb8c053d9d41df3946b064384cbaa3ecb12f231f.tar.gz extra-cmake-modules-bb8c053d9d41df3946b064384cbaa3ecb12f231f.tar.bz2 |
ECMGeneratePkgConfigFile: make all vars dependent on ${prefix}
Summary:
Note that the first test had a comment "without optional arguments"
so I removed the INCLUDE_INSTALL_DIR variable to test what happens by
default. The other tests still pass an absolute path there (which is
unusual in practice, and breaks the idea of using ${prefix}).
Test Plan: `ctest -R PkgConfig` passes
Reviewers: kossebau, apol, cgiboudeaux
Reviewed By: apol
Subscribers: kde-frameworks-devel, kde-buildsystem, fazevedo
Tags: #frameworks, #build_system
Differential Revision: https://phabricator.kde.org/D19538
Diffstat (limited to 'tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc')
-rw-r--r-- | tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc index 3e05c11e..cdc3b119 100644 --- a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc +++ b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc @@ -1,11 +1,12 @@ + prefix=/usr -exec_prefix=/usr -libdir=/usr/lib -includedir=/usr/KCoreAddons +exec_prefix=${prefix} +libdir=${prefix}/lib +includedir=${prefix}/include/KF5CoreAddons Name: KF5CoreAddons Description: KF5CoreAddons test Version: 5.43 -Libs: -L/usr/lib -lKF5CoreAddons -Cflags: -I/usr/KCoreAddons +Libs: -L${prefix}/lib -lKF5CoreAddons +Cflags: -I${prefix}/include/KF5CoreAddons Requires: Qt5Core |