CMake: Require Boost 1.57.0 (fixes Travis OS X)

merge-requests/60/head
Yuri Kunde Schlesner 2014-12-28 02:46:29 +07:00
parent a320d1a5b4
commit da04976437
1 changed files with 2 additions and 2 deletions

@ -41,11 +41,11 @@ else()
message(STATUS "libpng not found. Some debugging features have been disabled.") message(STATUS "libpng not found. Some debugging features have been disabled.")
endif() endif()
find_package(Boost) find_package(Boost 1.57.0)
if (Boost_FOUND) if (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS}) include_directories(${Boost_INCLUDE_DIRS})
else() else()
message(STATUS "Boost not found, falling back to externals") message(STATUS "Boost 1.57.0 or newer not found, falling back to externals")
include_directories(externals/boost) include_directories(externals/boost)
endif() endif()