Remove boost_install call from CMakeLists.txt

This commit is contained in:
Peter Dimov
2020-06-04 15:59:28 +03:00
parent f07be92a32
commit 4a7242be23
2 changed files with 2 additions and 8 deletions

View File

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

View File

@@ -19,13 +19,6 @@ target_link_libraries(boost_endian
Boost::type_traits Boost::type_traits
) )
if(BOOST_SUPERPROJECT_VERSION)
include(BoostInstall)
boost_install(TARGETS boost_endian HEADER_DIRECTORY include/)
endif()
if(BUILD_TESTING) if(BUILD_TESTING)
add_subdirectory(test) add_subdirectory(test)