|
|
@ -63,8 +63,14 @@ set(Boost_USE_STATIC_LIBS ${USE_BOOST_STATIC_LIBRARIES}) |
|
|
|
set(Boost_USE_MULTITHREADED ON) |
|
|
|
set(Boost_USE_STATIC_RUNTIME OFF) |
|
|
|
|
|
|
|
find_package(Boost 1.57.0 QUIET REQUIRED COMPONENTS filesystem system) |
|
|
|
|
|
|
|
find_package(Boost 1.61.0 QUIET REQUIRED COMPONENTS filesystem system) |
|
|
|
if (NOT Boost_FOUND) |
|
|
|
if (Boost_VERSION) |
|
|
|
message(FATAL_ERROR "The required Boost version is 1.61.0 or newer, however, only ${Boost_VERSION} was found.") |
|
|
|
else () |
|
|
|
message(FATAL_ERROR "Boost was not found.") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
if ((NOT Boost_LIBRARY_DIRS) OR ("${Boost_LIBRARY_DIRS}" STREQUAL "")) |
|
|
|
set(Boost_LIBRARY_DIRS "${Boost_INCLUDE_DIRS}/stage/lib") |
|
|
|
endif () |
|
|
|