From ca4e25f64e6d741d9cc1876a2ba4bfb70eb6fd37 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 22 Dec 2019 08:34:42 +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 63aad22..09dd0d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,6 +29,8 @@ include(BoostInstall OPTIONAL RESULT_VARIABLE HAVE_BOOST_INSTALL) if(HAVE_BOOST_INSTALL) + install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") + boost_install(boost_assert) endif()