Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreshilov <slovaricheg@gmail.com>2018-02-01 20:26:49 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2018-02-08 17:55:31 +0300
commit82098ef697683c7e124efe4ac287ca792eb80f2d (patch)
treef051f5ba31698ccdcb2e518b18e48e0a50b45c39 /CMakeLists.txt
parentc2f94950556cea28bfafbef45c2165f4f2021032 (diff)
Fix boost minimal version to 1.59
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files 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})