diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-01-23 10:19:26 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-03-22 10:58:09 +0100 |
commit | 1eb7fc7fa029f52ded8d8210638b25322aaf6816 (patch) | |
tree | 51756061a9fc926eb1e21dc927dff0c7636cc0ba /afb-helpers.pc.in | |
parent | f5bb1d7d963450a77587df9cb7cd25fad7617097 (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.pc.in')
-rw-r--r-- | afb-helpers.pc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/afb-helpers.pc.in b/afb-helpers.pc.in index fe96b86..513e064 100644 --- a/afb-helpers.pc.in +++ b/afb-helpers.pc.in @@ -25,6 +25,6 @@ Name: @TARGET_NAME@ Description: @PROJECT_DESCRIPTION@ Version: @PROJECT_VERSION@ URL: @PROJECT_URL@ -Libs: -L@CMAKE_INSTALL_LIBDIR@ -l@TARGET_NAME@ +Libs: -L${libdir} -l@TARGET_NAME@ Cflags: -I${includedir} |