Enforce Boost>=1.62 for MSVC
Reference: https://github.com/Project-OSRM/osrm-backend/issues/3088#issuecomment-256485167
This commit is contained in:
parent
de062d4ca3
commit
f429e08851
@ -456,6 +456,9 @@ else()
|
||||
|
||||
find_package(Boost 1.54 REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
||||
add_dependency_includes(${Boost_INCLUDE_DIRS})
|
||||
if(WIN32 AND Boost_VERSION VERSION_LESS 106200)
|
||||
message(FATAL_ERROR "Building with MSVC needs Boost 1.62 with CXX11_CONSTEXPR support")
|
||||
endif()
|
||||
|
||||
find_package(TBB REQUIRED)
|
||||
add_dependency_includes(${TBB_INCLUDE_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user