From 3831180f8499cb044242d4a92ed75d4e25183c7c Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 11 Dec 2013 15:27:41 +0100 Subject: - change cmake macro for packaging x86_64 ,solve DEVT-132. Change-Id: I023dd238f473f60fd7802d0baaa1479880a10f04 Signed-off-by: Ronan Le Martret --- appinfo/CMakeLists.txt | 2 +- appinfo/appinfo.pc.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appinfo/CMakeLists.txt b/appinfo/CMakeLists.txt index a46236d..6d6dd45 100644 --- a/appinfo/CMakeLists.txt +++ b/appinfo/CMakeLists.txt @@ -50,5 +50,5 @@ INSTALL(TARGETS ${this_target} DESTINATION ${LIB_INSTALL_DIR}/osp WORLD_EXECUTE WORLD_READ) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/appinfo.h DESTINATION include/osp) -INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/appinfo.pc DESTINATION lib/pkgconfig) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/appinfo.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) diff --git a/appinfo/appinfo.pc.in b/appinfo/appinfo.pc.in index d83c28c..fd70d3a 100644 --- a/appinfo/appinfo.pc.in +++ b/appinfo/appinfo.pc.in @@ -2,7 +2,7 @@ prefix=@PREFIX@ exec_prefix=/usr -libdir=/usr/lib/osp +libdir=@LIB_INSTALL_DIR@/osp includedir=/usr/include/osp Name: @PC_NAME@ -- cgit v1.2.3