mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Remove support for auto_ptr
This commit is contained in:
parent
c7873cde4b
commit
cf5ac87499
7 changed files with 0 additions and 150 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue