aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-05-28 14:55:10 +0200
committerThomas White <taw@physics.org>2018-05-28 15:04:13 +0200
commit11c01160688771c3627186d3f7080a965a66abf5 (patch)
tree9fe9e1ab887aad1ec1e72ac356ef78f03195f11c /libcrystfel
parentde3f797ee3def7bab339e02df84ee4ed65b3e01f (diff)
Fix installation paths
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt
index f6019b22..5cd288ac 100644
--- a/libcrystfel/CMakeLists.txt
+++ b/libcrystfel/CMakeLists.txt
@@ -121,5 +121,9 @@ endif (CURSES_FOUND)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall)
install (TARGETS libcrystfel
- RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib)
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+
+# crystfel.pc
+configure_file(crystfel.pc.in crystfel.pc)
+install(FILES ${CMAKE_BINARY_DIR}/libcrystfel/crystfel.pc
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)