From 6ece88cbd35f9d03813ad44d2c17306da1d4ae95 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 8 Sep 2018 00:04:50 +0200 Subject: [PATCH] cmake: install missing config header --- lib/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 880aedce1..3cfec4f2f 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -163,7 +163,15 @@ install( ) install( - DIRECTORY ../include/villas/ + DIRECTORY ${PROJECT_SOURCE_DIR}/include/villas/ + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/villas + COMPONENT devel + FILES_MATCHING + PATTERN "*.h" +) + +install( + DIRECTORY ${PROJECT_BINARY_DIR}/include/villas/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/villas COMPONENT devel FILES_MATCHING