From: Ronan Le Martret Date: Tue, 14 Oct 2014 08:57:59 +0000 (+0200) Subject: remove useless definition for prefix for cmake X-Git-Tag: submit/tizen/20160803.081834~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=981b178cd8d577d79bf64117c3ea95f7fffcf8b0;p=platform%2Fcore%2Fapi%2Fsystem-info.git remove useless definition for prefix for cmake - incompatible with yocto build native Change-Id: I07bfa938cf3dfb8335f2f2693337386a28b52942 Signed-off-by: Ronan Le Martret --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e09497..cb0c2fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/capi-system-info.pc.in b/capi-system-info.pc.in index b46c6e3..ff4fbac 100755 --- a/capi-system-info.pc.in +++ b/capi-system-info.pc.in @@ -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}