From f236ca91cf6c2e2f515668d2ea3e164df9dc5f05 Mon Sep 17 00:00:00 2001 From: git Date: Sat, 27 Feb 2016 16:47:27 -0800 Subject: [PATCH] Copy include files to installation directory. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 594c5f4c..ad065543 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,6 +225,10 @@ install(TARGETS ${PROJECT_NAME} ARCHIVE DESTINATION lib LIBRARY DESTINATION lib) +# Install include directories too. +install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/nana + DESTINATION include) + set_property( TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14 ) # TODO: move this nana-demo section to the nana demo repository, and here only include that cmake file