aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-07-10 12:13:41 +0200
committerThomas White <taw@physics.org>2018-07-10 12:13:51 +0200
commita69c3cec5f5f40c2b67fb4e136fbcc0a6e22ebaf (patch)
tree5cfeacd517327c9b983d0b8d54b02284466d8744 /libcrystfel
parent1a90c5e819f083c951a760060b3936b8615fdce5 (diff)
Install the headers
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt
index 25cf66bc..4651aeb1 100644
--- a/libcrystfel/CMakeLists.txt
+++ b/libcrystfel/CMakeLists.txt
@@ -164,9 +164,11 @@ if (CURSES_FOUND)
endif (CURSES_FOUND)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall)
+set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${LIBCRYSTFEL_HEADERS}")
-install (TARGETS libcrystfel
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+install(TARGETS libcrystfel
+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/crystfel
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
# crystfel.pc
configure_file(crystfel.pc.in crystfel.pc)