summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--bundle.pc.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95b8e07..a123924 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,7 +38,7 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/bundle.pc.in ${CMAKE_BINARY_DIR}/bundle.pc @O
### Install
install(TARGETS bundle
- DESTINATION lib${LIB_SUFFIX}
+ DESTINATION ${LIB_INSTALL_DIR}
)
install(FILES
${CMAKE_SOURCE_DIR}/include/bundle.h
@@ -46,7 +46,7 @@ install(FILES
DESTINATION include/
)
install(FILES ${CMAKE_BINARY_DIR}/bundle.pc
- DESTINATION lib${LIB_SUFFIX}/pkgconfig/
+ DESTINATION ${LIB_INSTALL_DIR}/pkgconfig/
)
diff --git a/bundle.pc.in b/bundle.pc.in
index aa9cb10..89f192f 100644
--- a/bundle.pc.in
+++ b/bundle.pc.in
@@ -2,7 +2,7 @@
prefix=/usr
exec_prefix=${prefix}
-libdir=${prefix}/lib
+libdir=@LIB_INSTALL_DIR@
includedir=${prefix}/include
Name: bundle