From c3bf1d31fb43dc26a00fef05d951806e3158c55b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 8 Aug 2015 19:19:47 +0200 Subject: [PATCH] Bump Boost requirement to >= 1.48. Older versions of Boost have issues with C++11 due to boost::shared_ptr. Details: http://stackoverflow.com/questions/18900730/boostshared-ptrshared-ptrconst-boostshared-ptr-is-implicitly-declared https://svn.boost.org/trac/boost/changeset/73202 This seems to have been fixed in Boost 1.48 (untested, though). This closes bug #593. --- CMakeLists.txt | 4 ++-- INSTALL | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 800ffe2..326499f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,9 +99,9 @@ else() endif() if(ENABLE_TESTS) - find_package(Boost 1.42 COMPONENTS filesystem system thread unit_test_framework REQUIRED) + find_package(Boost 1.48 COMPONENTS filesystem system thread unit_test_framework REQUIRED) else() - find_package(Boost 1.42 COMPONENTS filesystem system thread REQUIRED) + find_package(Boost 1.48 COMPONENTS filesystem system thread REQUIRED) endif() # Find the platform's thread library (needed for C++11 threads). diff --git a/INSTALL b/INSTALL index 746064b..42cc79b 100644 --- a/INSTALL +++ b/INSTALL @@ -17,7 +17,7 @@ Requirements - Qt4 >= 4.5 or Qt5 (including the following components): - Qt4: QtCore, QtGui, QtSvg - Qt5: Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg - - libboost >= 1.42 (including the following libs): + - libboost >= 1.48 (including the following libs): - libboost-system - libboost-filesystem - libboost-thread -- 2.30.2