<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Title content=""><meta name=Keywords content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:新細明體;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>Thanks for the help.  I will try that. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Calibri;color:black'>Alex Chen</span><span style='font-size:11.0pt;font-family:Calibri'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='margin-left:.5in'><b><span style='font-family:Calibri;color:black'>From: </span></b><span style='font-family:Calibri;color:black'>Michael Ellery <mellery451@gmail.com><br><b>Date: </b>Thursday, April 20, 2017 at 8:13 PM<br><b>To: </b>Alex Chen <alex_chen@filemaker.com><br><b>Cc: </b>CMake <cmake@cmake.org><br><b>Subject: </b>Re: [CMake] Overriding the include path, library path of OpenSSL, Zlib and libcurl<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>It doesn’t look like that find module directly supports HINTS or PATHS, so you can try setting CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH  (<a href="https://cmake.org/cmake/help/v3.7/variable/CMAKE_LIBRARY_PATH.html">https://cmake.org/cmake/help/v3.7/variable/CMAKE_LIBRARY_PATH.html</a>) before calling the curl finder. I think you can add to those variables whatever paths are appropriate to search for CURL on your systems.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>-Mike<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><blockquote style='border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in' id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"><div><p class=MsoNormal style='margin-left:.5in'>On Apr 20, 2017, at 6:06 PM, Alex Chen <<a href="mailto:alex_chen@filemaker.com">alex_chen@filemaker.com</a>> wrote:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>The source code I want to compile on Linux uses ‘FindOpenSSL’, ‘FindZLIB’, and ‘FindCURL’ to resolve the paths of these libraries.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>However, I have newer version of these libraries in different locations.  How to I override these to use my paths?<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>I am able to use OPENSSL_ROOT_DIR, from FindOpenSSL module, and ZLIB_ROOT, from FindZLIB module, to override the paths.  <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>But I cannot find anything in FindCURL module to override the path of libcurl.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>  <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>  <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Alex Chen<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>-- <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Powered by www.kitware.com<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Kitware offers various services to support the CMake community. For more information on each offering, please visit:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>CMake Support: <a href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</a><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Follow this link to subscribe/unsubscribe:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><a href="http://public.kitware.com/mailman/listinfo/cmake">http://public.kitware.com/mailman/listinfo/cmake</a><o:p></o:p></p></div></blockquote><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div></div></body></html>