From abe529e7017e841f64bb231ea31a73094fe7adbd Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 4 Mar 2019 12:52:13 +0100 Subject: ECMGeneratePkgConfigFile: add variables used by pkg_check_modules Summary: If we ever end up in a situation where the generated .pc file is actually used by cmake's pkg_check_modules, then we need the includedir and libdir variables; pkg_check_modules ignores the Makefile-like Libs and Cflags lines of the .pc file. Context: craft adds a cmake buildsystem for sqlite3, which is then found using pkgconfig in akonadi. Test Plan: Filipe Azevedo is doing all the testing, I'm just providing patches :) Reviewers: apol, fazevedo, cgiboudeaux Reviewed By: fazevedo, cgiboudeaux Subscribers: cgiboudeaux, fazevedo, kde-buildsystem, kde-frameworks-devel Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D19506 --- tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc') diff --git a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc index 132a7aaa..d4f473d4 100644 --- a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc +++ b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc @@ -1,3 +1,7 @@ +prefix=/usr +exec_prefix=/usr +libdir=/usr/lib +includedir=/usr/KCoreAddons Name: KF5CoreAddons2 Description: Addons to QtCore -- cgit v1.2.1