From 1ebc29aa0277cbb284a70327b5af14519f2702bc Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 11 Jun 2020 17:21:57 +0300 Subject: [PATCH] Remove boost_install call from CMakeLists.txt --- .travis.yml | 1 + CMakeLists.txt | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index e0dc1a8..4ed2f90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d509ee..8cf4ea4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)