From 6d06a1471bbd6346dd8fb4e98b9b4a72381bd9c1 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 22 Dec 2019 08:35:51 +0200 Subject: [PATCH] Install the include/ directory separately --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12b473bc..bb9f3493 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,8 @@ include(BoostInstall OPTIONAL RESULT_VARIABLE HAVE_BOOST_INSTALL) if(HAVE_BOOST_INSTALL) + install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") + boost_install(boost_config) endif()