[CMake] Overriding the include path, library path of OpenSSL, Zlib and libcurl

Alex Chen alex_chen at filemaker.com
Thu Apr 20 21:06:19 EDT 2017


The source code I want to compile on Linux uses ‘FindOpenSSL’, ‘FindZLIB’, and ‘FindCURL’ to resolve the paths of these libraries.

However, I have newer version of these libraries in different locations.  How to I override these to use my paths?

I am able to use OPENSSL_ROOT_DIR, from FindOpenSSL module, and ZLIB_ROOT, from FindZLIB module, to override the paths.  

But I cannot find anything in FindCURL module to override the path of libcurl.

 

 

Alex Chen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170420/ea75952c/attachment.html>


More information about the CMake mailing list