forked from boostorg/smart_ptr
Remove boost_install call from CMakeLists.txt
This commit is contained in:
@ -394,6 +394,7 @@ matrix:
|
|||||||
- os: linux
|
- os: linux
|
||||||
env: CMAKE_INSTALL_TEST=1
|
env: CMAKE_INSTALL_TEST=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=smart_ptr -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=~/.local ..
|
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=smart_ptr -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=~/.local ..
|
||||||
- cmake --build . --target install
|
- cmake --build . --target install
|
||||||
|
@ -22,13 +22,6 @@ target_link_libraries(boost_smart_ptr
|
|||||||
Boost::type_traits
|
Boost::type_traits
|
||||||
)
|
)
|
||||||
|
|
||||||
if(BOOST_SUPERPROJECT_VERSION)
|
|
||||||
|
|
||||||
include(BoostInstall)
|
|
||||||
boost_install(TARGETS boost_smart_ptr HEADER_DIRECTORY include/)
|
|
||||||
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(BUILD_TESTING)
|
if(BUILD_TESTING)
|
||||||
|
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
Reference in New Issue
Block a user