Re-allow usage of boost 1.56 since we don't use boost::futures anymore

This commit is contained in:
Sebastian Messmer 2017-08-31 23:58:57 +01:00
parent 3aa8b74fd9
commit 8a92936765

View File

@ -58,7 +58,7 @@ function(target_add_boost TARGET)
set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_STATIC_LIBS OFF)
endif(NOT DEFINED Boost_USE_STATIC_LIBS OR Boost_USE_STATIC_LIBS) endif(NOT DEFINED Boost_USE_STATIC_LIBS OR Boost_USE_STATIC_LIBS)
set(BOOST_THREAD_VERSION 4) set(BOOST_THREAD_VERSION 4)
find_package(Boost 1.58.0 find_package(Boost 1.56.0
REQUIRED REQUIRED
COMPONENTS ${ARGN}) COMPONENTS ${ARGN})
target_include_directories(${TARGET} SYSTEM PUBLIC ${Boost_INCLUDE_DIRS}) target_include_directories(${TARGET} SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})