Boost_COMPILER content not compatible with 'Boost CMake' build
CMake expects the content of the variable Boost_COMPILER to start with a dash (e.g. "-vc142"), but the CMake scripts generated by a Boost build expect them without the dash (e.g. "vc142"), which are not passed through by CMake. This causes matching libraries to be rejected. A workaround is not to use those scripts by setting Boost_NO_BOOST_CMAKE to ON.
Tested on Windows 10 with Visual Studio 2019, CMake 3.14.4 and Boost 1.70.0.
Edited by John