remove useless definition for prefix for cmake 99/28699/3
authorRonan Le Martret <ronan@fridu.net>
Tue, 14 Oct 2014 08:57:59 +0000 (10:57 +0200)
committertaeyoung <ty317.kim@samsung.com>
Wed, 3 Aug 2016 02:17:05 +0000 (11:17 +0900)
 - incompatible with yocto build native

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

index 8e09497..cb0c2fc 100644 (file)
@@ -5,9 +5,6 @@ SET(external_plugin "${fw_name}-plugin")
 
 PROJECT(${fw_name})
 
-SET(CMAKE_INSTALL_PREFIX /usr)
-SET(PREFIX ${CMAKE_INSTALL_PREFIX})
-
 SET(INC_DIR include)
 INCLUDE_DIRECTORIES(${INC_DIR})
 
index b46c6e3..ff4fbac 100755 (executable)
@@ -1,15 +1,13 @@
 
 # Package Information for pkg-config
 
-prefix=@PREFIX@
-exec_prefix=@CMAKE_INSTALL_PREFIX@
 libdir=@LIB_INSTALL_DIR@
 includedir=@INCLUDE_INSTALL_DIR@/system
 
 Name: @PC_NAME@
 Description: @PACKAGE_DESCRIPTION@
 Version: @VERSION@
-Requires: @PC_REQUIRED@ 
+Requires: @PC_REQUIRED@
 Libs: -L${libdir} @PC_LDFLAGS@
 Cflags: -I${includedir}