remove hard coded path to pkg-config pc file 04/28704/3
authorRonan Le Martret <ronan@fridu.net>
Tue, 14 Oct 2014 09:43:29 +0000 (11:43 +0200)
committertaeyoung <ty317.kim@samsung.com>
Wed, 3 Aug 2016 02:08:52 +0000 (11:08 +0900)
 - we need to generate the pc file with cmake macro for yocto native build.

Change-Id: I807a5c8e8d04cd5af22c9c188a3067291426239a
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
capi-system-info.pc.in

index 1d79ad0..b46c6e3 100755 (executable)
@@ -2,9 +2,9 @@
 # Package Information for pkg-config
 
 prefix=@PREFIX@
-exec_prefix=/usr
+exec_prefix=@CMAKE_INSTALL_PREFIX@
 libdir=@LIB_INSTALL_DIR@
-includedir=/usr/include/system
+includedir=@INCLUDE_INSTALL_DIR@/system
 
 Name: @PC_NAME@
 Description: @PACKAGE_DESCRIPTION@