CMake: Require Boost 1.57.0 (fixes Travis OS X)
This commit is contained in:
parent
a320d1a5b4
commit
da04976437
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue