From da6f5420fe7e96f673ee185c2ff37cbaa3f95b84 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 14 Jun 2020 19:19:43 +0300 Subject: [PATCH] Remove manual 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 4164a1b..7037e63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -333,6 +333,7 @@ matrix: - os: linux env: CMAKE_INSTALL=1 script: + - pip install --user cmake - mkdir __build__ && cd __build__ - cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=throw_exception -DCMAKE_INSTALL_PREFIX=~/.local .. - cmake --build . --target install diff --git a/CMakeLists.txt b/CMakeLists.txt index 21fe5f0..a994885 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,13 +16,6 @@ target_link_libraries(boost_throw_exception Boost::config ) -if(BOOST_SUPERPROJECT_VERSION) - - include(BoostInstall) - boost_install(TARGETS boost_throw_exception HEADER_DIRECTORY include/) - -endif() - if(BUILD_TESTING) add_subdirectory(test)