Unverified Commit 26dddb9d authored by anonimal's avatar anonimal

Build: work-around Boost 1.71 provided CMake issue

parent dc9a9f22
......@@ -264,6 +264,10 @@ if (WITH_PYTHON)
endif()
endif()
if (Boost_VERSION STRGREATER_EQUAL 107100)
set(Boost_NO_BOOST_CMAKE ON CACHE BOOL "Disable the new Boost-provided CMake files (they're currently unreliable and break the build)" FORCE)
endif()
find_package(Boost 1.66 REQUIRED COMPONENTS filesystem log program_options ${additional_components})
if (NOT Boost_FOUND)
message(FATAL_ERROR "Boost not found or requirement not satisfied. See building instructions.")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment