I've installed openssl into msys2 using pacman:
pacman -S openssl
However Cmake (within msys2) is still not able to find openssl libraries...
CMake Error at C:/Langs/msys64/mingw64/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY)
What are the proper values for OPENSSL_ROOT_DIR and/or OPENSSL_CRYPTO_LIBRARY? I've tried everything I can find inside msys that contains openssl libraries.
/mingw64/include/openssl/
/mingw64/bin/
/mingw64/
Turns out the issue was that the end of the cmake command had:
Which was the default. But the proper value for my system was:
the proper value for OPENSSL_ROOT_DIR was: