1.安装OpenSSL
Win64OpenSSL_Light-3_3_2.msi
2.添加环境变量OPENSSL_MODULES
变量名:OPENSSL_MODULES
值:C:\Program Files\OpenSSL-Win64\bin
3.添加可执行文件路径
环境变量path, 添加:
C:\Program Files\OpenSSL-Win64\bin
-DCMAKE_TOOLCHAIN_FILE=".\vcpkg\scripts\buildsystems\vcpkg.cmake"