From 82098ef697683c7e124efe4ac287ca792eb80f2d Mon Sep 17 00:00:00 2001 From: greshilov Date: Thu, 1 Feb 2018 20:26:49 +0300 Subject: [PATCH] Fix boost minimal version to 1.59 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 57ed00dd82..93b28e5a58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,7 +125,7 @@ if (PLATFORM_MAC) set(Boost_USE_STATIC_RUNTIME ON) endif() -find_package(Boost 1.54) +find_package(Boost 1.59) if (NOT Boost_FOUND) if (DEFINED ENV{BOOST_ROOT}) @@ -140,15 +140,15 @@ if (NOT Boost_FOUND) set(Boost_INCLUDE_DIR "${OMIM_ROOT}/3party/boost") set(Boost_LIBRARY_DIR "${OMIM_ROOT}/3party/boost/libs") endif() - find_package(Boost 1.54) + find_package(Boost 1.59) endif() if (PYBINDINGS) if (PYTHON_VERSION VERSION_GREATER 3.0) set(_Boost_PYTHON3_HEADERS "boost/python.hpp") - find_package(Boost 1.54 REQUIRED COMPONENTS python3) + find_package(Boost 1.59 REQUIRED COMPONENTS python3) else() - find_package(Boost 1.54 REQUIRED COMPONENTS python) + find_package(Boost 1.59 REQUIRED COMPONENTS python) endif() find_package(PythonLibs ${PYTHON_VERSION} REQUIRED) include_directories(${PYTHON_INCLUDE_DIRS})