summaryrefslogtreecommitdiffstats
path: root/afb-helpers-qt.pc.in
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-01-23 10:19:26 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-03-22 10:58:09 +0100
commit1eb7fc7fa029f52ded8d8210638b25322aaf6816 (patch)
tree51756061a9fc926eb1e21dc927dff0c7636cc0ba /afb-helpers-qt.pc.in
parentf5bb1d7d963450a77587df9cb7cd25fad7617097 (diff)
Set PROJECT_VERSION overwritable by cli
Use AGLVERSION variable that could be set by command-line to override the one set in the CMakeLists.txt file. Tiny fix on the Libs variable to use now ${libdir} instead of the CMake variable which isn't absolute Change-Id: Ic8137766ee3a0fb5b51cc49d2ea39d8d66e48b3f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'afb-helpers-qt.pc.in')
-rw-r--r--afb-helpers-qt.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/afb-helpers-qt.pc.in b/afb-helpers-qt.pc.in
index 450293e..772aeb6 100644
--- a/afb-helpers-qt.pc.in
+++ b/afb-helpers-qt.pc.in
@@ -25,5 +25,5 @@ Name: @TARGET_NAME@-qt
Description: @PROJECT_DESCRIPTION@ and Qt
Version: @PROJECT_VERSION@
URL: @PROJECT_URL@
-Libs: -L@CMAKE_INSTALL_LIBDIR@ -l@TARGET_NAME@-qt
+Libs: -L${libdir} -l@TARGET_NAME@-qt
Cflags: -I${includedir}