[CMake] FindOpenSSL.cmake
Kyle Edwards
kyle.edwards at kitware.com
Fri Feb 1 18:03:26 EST 2019
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 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. A look at
> FindOpenSSL.cmake makes it seem as if the version is used when
> finding the header files, but not the libraries. Other than
> overriding cache entries, is there a way to fix the
> FindOpenSSL.cmake that would solve the problem? Other suggestions?
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.
> cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For
> more information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/op
> ensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190201/1a4db7d8/attachment.html>
More information about the CMake
mailing list