##
-## Copyright (C) 2016 "IoT.bzh"
-## Author: José Bollo <jose.bollo@iot.bzh>
+## Copyright (C) 2016-2019 "IoT.bzh"
##
## This file is part of afb-daemon project.
##
## limitations under the License.
##
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+binding_install_dir=@binding_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: -I${includedir}