From 11c01160688771c3627186d3f7080a965a66abf5 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 28 May 2018 14:55:10 +0200 Subject: Fix installation paths --- libcrystfel/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libcrystfel/CMakeLists.txt') 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) -- cgit v1.2.3