CMake could not find Boost libraries on Windows (because of wrong _boost_ARCHITECTURE_TAG)
Enviroment:
- CMake-3.12
- MSVC 15.8.2 (2017)
- VCPKG is used as package manager
- Boost 1.66
Problem: VCPKG builds boost release libraries with names like this:
boost_system-vc140-mt-1_66.lib
boost_date_time-vc140-mt-1_66.lib
...
While FindBoost.cmake looks additionally for _boost_ARCHITECTURE_TAG
in lib name which should be either x64, x86 etc.
Worked fine in CMake-3.9