Andrew,
FindOpenSSL provides an "OPENSSL_ROOT_DIR" variable which allows you to
specify the root directory of your installation (assuming a traditional
layout within that directory.) Hopefully this will do what you need.
Good luck!
Kyle
On Fri, 2019-02-01 at 16:18 -0500, Andrew Bell wrote:
> I
I have a system-provided SSL and I have a newer one that I have installed
via a packaging system. In my build system I have:
find_package(OPENSSL 1.1) . This properly finds the version 1.1 header
files for openSSL, but it finds the incompatible system libraries, which
are older than version 1.1.
I'm having some trouble with the FindOpenSSL.cmake. While troubleshooting, I
noticed that it has this line:
MARK_AS_ADVANCED(OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES)
Yet the OPENSSL_LIBRARIES never show up in the cmake-gui. I'm running 2.8.2 on
Windows XP. Can someone tell me if I'm
Officially, CMake modules are supposed to mark cache variables like this as
advanced so they disappear as soon as they are set. Since it is finding DLL
files the cache variables are being set and immediately hidden in the
advanced section of the cache. You should be able to get at them from the