Remove manual boost_install call from CMakeLists.txt

This commit is contained in:
Peter Dimov
2020-06-14 19:19:43 +03:00
parent 924eb33335
commit da6f5420fe
2 changed files with 1 additions and 7 deletions

View File

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

View File

@ -16,13 +16,6 @@ target_link_libraries(boost_throw_exception
Boost::config Boost::config
) )
if(BOOST_SUPERPROJECT_VERSION)
include(BoostInstall)
boost_install(TARGETS boost_throw_exception HEADER_DIRECTORY include/)
endif()
if(BUILD_TESTING) if(BUILD_TESTING)
add_subdirectory(test) add_subdirectory(test)