Remove support for auto_ptr

This commit is contained in:
Alexander Grund 2020-09-24 22:54:13 +02:00
parent c7873cde4b
commit cf5ac87499
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
7 changed files with 0 additions and 150 deletions

View file

@ -13,7 +13,6 @@ else()
endif()
option(TURTLE_INSTALL "Enable to add install target" ${IS_ROOT_PROJECT})
option(TURTLE_AUTO_PTR "Enable support for auto_ptr" OFF)
# Default boost libs are static on windows and dynamic on linux
if(WIN32 AND NOT DEFINED Boost_USE_STATIC_LIBS)
@ -30,9 +29,6 @@ target_include_directories(turtle INTERFACE $<BUILD_INTERFACE:include;${CMAKE_CU
target_compile_features(turtle INTERFACE cxx_std_14)
target_link_libraries(turtle INTERFACE Boost::boost Boost::disable_autolinking)
if(NOT TURTLE_AUTO_PTR)
target_compile_definitions(turtle INTERFACE MOCK_NO_AUTO_PTR)
endif()
if(BUILD_TESTING)
add_subdirectory(test)