CMakeLists: Raise minimum Boost requirement to 1.66.0

Required due to bugfix in boost for changed template resolving rules in GCC 7.3.0 in C++17 mode
This commit is contained in:
MerryMage 2019-03-17 23:04:03 +00:00
parent 57ca1e3e69
commit 51f609fee7

View file

@ -179,9 +179,9 @@ set_property(DIRECTORY APPEND PROPERTY
# System imported libraries # System imported libraries
# ====================== # ======================
find_package(Boost 1.64.0 QUIET) find_package(Boost 1.66.0 QUIET)
if (NOT Boost_FOUND) if (NOT Boost_FOUND)
message(STATUS "Boost 1.64.0 or newer not found, falling back to externals") message(STATUS "Boost 1.66.0 or newer not found, falling back to externals")
set(BOOST_ROOT "${PROJECT_SOURCE_DIR}/externals/boost") set(BOOST_ROOT "${PROJECT_SOURCE_DIR}/externals/boost")
set(Boost_NO_SYSTEM_PATHS OFF) set(Boost_NO_SYSTEM_PATHS OFF)