Install the include/ directory separately

This commit is contained in:
Peter Dimov
2019-12-22 08:35:51 +02:00
parent 38b658648e
commit 6d06a1471b

View File

@ -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()