aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMGeneratePkgConfigFile/KF5CoreAddons3.pc
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2019-03-05 11:46:54 +0100
committerDavid Faure <faure@kde.org>2019-03-05 15:40:26 +0100
commitbb8c053d9d41df3946b064384cbaa3ecb12f231f (patch)
tree420073b8aa7d5a5e122d8a5eb5c65778f40390a5 /tests/ECMGeneratePkgConfigFile/KF5CoreAddons3.pc
parent8999b7bd6f6d1505c1b59b48432a3cfa4a90a2f8 (diff)
downloadextra-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/KF5CoreAddons3.pc')
-rw-r--r--tests/ECMGeneratePkgConfigFile/KF5CoreAddons3.pc7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons3.pc b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons3.pc
index 16c81d7a..bd3886dc 100644
--- a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons3.pc
+++ b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons3.pc
@@ -1,11 +1,12 @@
+
prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
+exec_prefix=${prefix}
+libdir=${prefix}/lib
includedir=/usr/KCoreAddons
Name: KF5CoreAddons3
Description: KF5CoreAddons3 library.
Version: 5.43
-Libs: -L/usr/lib -lKF5CoreAddons3
+Libs: -L${prefix}/lib -lKF5CoreAddons3
Cflags: -I/usr/KCoreAddons
Requires: Qt5Core