aboutsummaryrefslogtreecommitdiffstats
path: root/afb-daemon.pc.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-19 14:04:38 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-19 14:04:38 +0200
commita2500c271b3837a55cf2166bfcc212993875ea63 (patch)
treeca9c3d6ad8e7623d367b16dadff0e2dd0ea4089c /afb-daemon.pc.in
parent917ffb686f88dfcd2819206deff88307dc90943c (diff)
setting version and removing afm-main-plugin
Change-Id: I282918e281d5c442b7259ffcd46b4ba0098fefe0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'afb-daemon.pc.in')
-rw-r--r--afb-daemon.pc.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/afb-daemon.pc.in b/afb-daemon.pc.in
index 9faaa920..ada05afe 100644
--- a/afb-daemon.pc.in
+++ b/afb-daemon.pc.in
@@ -17,12 +17,16 @@
## limitations under the License.
##
+prefix=@CMAKE_INSTALL_PREFIX@
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+plugin_install_dir=${prefix}/@plugin_install_dir@
+
Name: @PROJECT_PRETTY_NAME@
Description: @PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@
URL: @PROJECT_URL@
-Requires: json-c
-Cflags: -DPLUGIN_INSTALL_DIR=\"@plugin_install_dir@\"
-
+Requires: json-c
+Cflags: -DPLUGIN_INSTALL_DIR=\"${plugin_install_dir}\" -I${includedir}