EDIT: I found the solution. I forgot to specify the platform as Win64, which meant that CMake was looking for the 32 bit libraries, which I don't have.
I am attempting to compile TrinityCore for 3.3.5a. CMake says that it cannot find the Boost and OpenSSL libraries. I definitely have the correct ones, installed in the correct directories.
https://pastebin.com/94g2kebN
I've re-installed these things many times and nothing seems to help.
Enviroment variable BOOST_ROOT is set correctly to C:/local/boost_1_66_0. I have the boost 1.66.0 msvc-14.1 64-bit version. OpenSSL is 1.0.2 64-bit version. The reason for using those specific versions instead of the newer ones is that I read in windows requirements guide that 1.66.0 is the minimum required version, and 1.70.0 did not work. As for OpenSSL, I read in some troubleshooting post that you cannot use the 1.1.x versions of OpenSSL – even though the requirements page states that you can use them, so I installed 1.0.2 instead. I always make sure to uninstall any previously installed versions before I install new ones, I do not have multiple versions installed.