1.报的错误
CMake finds Boost but the imported targets not available for Boost version.
原因:cmake所用版本是3.5,起码得3.11才能适配boost1.66
Boost 1.63 requires CMake 3.7 or newer
Boost 1.64 requires CMake 3.8 or newer
Boost 1.65 and 1.65.1 require CMake 3.9.3 or newer
Boost 1.66 will be supported by CMake 3.11 or newer.
解决方案:升级cmake.