aboutsummaryrefslogtreecommitdiffstats
path: root/afb-daemon.pc.in
diff options
context:
space:
mode:
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}