mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
cmake: set BOOST_NO_AUTO_PTR to fix c++17 compilation
This commit is contained in:
parent
5136974da9
commit
df9f380671
1 changed files with 1 additions and 0 deletions
|
@ -1077,6 +1077,7 @@ if (WIN32)
|
||||||
endif()
|
endif()
|
||||||
find_package(Boost 1.58 QUIET REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
find_package(Boost 1.58 QUIET REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
||||||
add_definitions(-DBOOST_ASIO_ENABLE_SEQUENTIAL_STRAND_ALLOCATION)
|
add_definitions(-DBOOST_ASIO_ENABLE_SEQUENTIAL_STRAND_ALLOCATION)
|
||||||
|
add_definitions(-DBOOST_NO_AUTO_PTR)
|
||||||
|
|
||||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ${OLD_LIB_SUFFIXES})
|
set(CMAKE_FIND_LIBRARY_SUFFIXES ${OLD_LIB_SUFFIXES})
|
||||||
if(NOT Boost_FOUND)
|
if(NOT Boost_FOUND)
|
||||||
|
|
Loading…
Reference in a new issue