FindBoost fails to find imported target for Boost 1.65.1 (or probably 1.65.0)
When building with the latest Boost and CMake (on macOS using brew), CMake fails to define the imported targets for Boost, causing build failures when using these features. The problem seems to be the line in FindBoost.cmake (present in CMake 3.9.2):
elseif(NOT Boost_VERSION VERSION_LESS 106300 AND Boost_VERSION VERSION_LESS 106500)
...
else()
message(WARNING "Imported targets not available for Boost version ${Boost_VERSION}")
set(_Boost_IMPORTED_TARGETS FALSE)
endif()
Wouldn't a better default be to not limit the max version?