summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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@