From d48d5c87080be4e0df9991c01c454412e4efde0f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 22 Dec 2019 08:33:53 +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 beab5dc..f636a11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,8 @@ include(BoostInstall OPTIONAL RESULT_VARIABLE HAVE_BOOST_INSTALL) if(HAVE_BOOST_INSTALL) + install(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") + boost_install(boost_mp11) endif()