Closed ryanhaining closed 4 years ago
Not the cleanest solution but, I deleted the environment variable and instead updated the build script to find the latest version of boost in C:\Libraries and use that:
$boostRoot=(Get-ChildItem C:\Libraries\boost_*).FullName | Sort -Descending | select -first 1
cmake "-DBOOST_ROOT=$boostRoot" .```
the build log includes a CMake error:
Appveyor only has Boost 1.71.0 for MSVC 2019, but the highest it has for MSVC 2017 is Boost 1.69.0.
The
BOOST_ROOT
environment variable in the appveyor setting is set toC:\Libraries\boost_1_64_0
, but of course this only works for MSVC 2017Both MSVC 2017 and 2019 work when they have their respective correct BOOST_ROOT