1 Answer
- Newest
- Most votes
- Most comments
0
Hi!
It looks like CMake can't find OpenSSL. Setting the OPENSSL_ROOT_DIR environment variable and ensuring it's set correctly should fix this. You want to set it to the absolute path to the OpenSSL installation folder containing the "bin", "include" and "lib" folders. For example, if the crypto.h header file is located at "C:\OpenSSL\include\crypto.h", then the OPENSSL_ROOT_DIR environment variable should be set to "C:\OpenSSL". Make sure to restart your IDE or command prompt after changing the environment variable for your user account, as changes in environment variables don't affect running processes.
Relevant content
- asked 3 years ago
- asked 3 years ago
- asked 2 years ago
- asked 8 years ago

It worked when I installed OpenSSL 1.1.1w. I had OpenSSL 3.1.5 before.