Removed CONSTEXPR requirement for a boost, as we need at least c++14 for rest of the code.

This commit is contained in:
Denis Chaplygin 2020-06-16 14:44:55 +03:00
parent 0503a2fcd3
commit ae6326719a
No known key found for this signature in database
GPG Key ID: 20B3EDF942F8C943

View File

@ -530,9 +530,6 @@ else()
find_package(Boost 1.54 REQUIRED COMPONENTS ${BOOST_COMPONENTS}) find_package(Boost 1.54 REQUIRED COMPONENTS ${BOOST_COMPONENTS})
add_dependency_includes(${Boost_INCLUDE_DIRS}) 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) find_package(TBB REQUIRED)
add_dependency_includes(${TBB_INCLUDE_DIR}) add_dependency_includes(${TBB_INCLUDE_DIR})