Remove boost_install call from CMakeLists.txt

This commit is contained in:
Peter Dimov
2020-06-11 17:21:57 +03:00
parent d3db874762
commit 1ebc29aa02
2 changed files with 1 additions and 7 deletions

View File

@ -308,6 +308,7 @@ matrix:
- os: linux
env: CMAKE_INSTALL_TEST=1
script:
- pip install --user cmake
- mkdir __build__ && cd __build__
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=variant2 -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build . --target install

View File

@ -17,13 +17,6 @@ target_link_libraries(boost_variant2
Boost::mp11
)
if(BOOST_SUPERPROJECT_VERSION)
include(BoostInstall)
boost_install(TARGETS boost_variant2 HEADER_DIRECTORY include/)
endif()
if(BUILD_TESTING)
add_subdirectory(test)