summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2013-12-11 15:27:41 +0100
committerRonan Le Martret <ronan@fridu.net>2013-12-11 16:13:08 +0100
commit3831180f8499cb044242d4a92ed75d4e25183c7c (patch)
tree6f50fe07581f3c3e95f001cf804496c5ae32981b
parent71d7dd515a1cfc84283af757cc58b5e3aaca06fe (diff)
downloadenv-config-3831180f8499cb044242d4a92ed75d4e25183c7c.tar.gz
env-config-3831180f8499cb044242d4a92ed75d4e25183c7c.tar.bz2
env-config-3831180f8499cb044242d4a92ed75d4e25183c7c.zip
- change cmake macro for packaging x86_64 ,solve DEVT-132.
Change-Id: I023dd238f473f60fd7802d0baaa1479880a10f04 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rw-r--r--appinfo/CMakeLists.txt2
-rw-r--r--appinfo/appinfo.pc.in2
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@