aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2023-06-29 21:31:01 +0200
committerselsta <selsta@sent.at>2023-10-26 04:02:26 +0200
commitdf9f3806716461f016dcd709b450a5605aafbe78 (patch)
tree5aa37f1fdabee48c1455848163a86edef53120cd
parentdevice: boost -> std locks to fix c++17 compilation (diff)
downloadmonero-df9f3806716461f016dcd709b450a5605aafbe78.tar.xz
cmake: set BOOST_NO_AUTO_PTR to fix c++17 compilation
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 085e628d3..8e5f5b48c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1077,6 +1077,7 @@ if (WIN32)
endif()
find_package(Boost 1.58 QUIET REQUIRED COMPONENTS ${BOOST_COMPONENTS})
add_definitions(-DBOOST_ASIO_ENABLE_SEQUENTIAL_STRAND_ALLOCATION)
+add_definitions(-DBOOST_NO_AUTO_PTR)
set(CMAKE_FIND_LIBRARY_SUFFIXES ${OLD_LIB_SUFFIXES})
if(NOT Boost_FOUND)