Remove boost_install call from CMakeLists.txt

This commit is contained in:
Peter Dimov
2020-06-04 15:56:39 +03:00
parent 40f38c9fb5
commit fd4aa77824
2 changed files with 2 additions and 8 deletions

View File

@@ -301,8 +301,9 @@ matrix:
- os: linux
env: CMAKE_INSTALL_TEST=1
script:
- pip install cmake
- mkdir __build__ && cd __build__
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES="assert;bind;config;core" -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=bind -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build . --target install
- cd ../libs/bind/test/cmake_install_test && mkdir __build__ && cd __build__
- cmake -DCMAKE_INSTALL_PREFIX=~/.local ..

View File

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