<div dir="ltr">Hi Kevin,<div><br></div><div>Could you please share your complete Cmake configuration invocation? E.g. `cmake -S llvm -B build -G Ninja -D...`</div><div><br></div><div>Thanks,</div><div>Noah</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 6, 2021 at 12:54 PM Kevin Neal via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<font face="Courier New" size="2"><span style="font-size:11pt">
<div>I’ve got a build failure now that we’re using curl. I’m on FreeBSD 11.1 using its clang.</div>
<div><font face="Calibri"> </font></div>
<div>What I’m seeing is that during the configure stage this gets printed:</div>
<div>-- Found CURL: /usr/local/lib/libcurl.so (found version "7.54.1")</div>
<div><font face="Calibri"> </font></div>
<div>But the curl/curl.h include file is located in /usr/local/include which is _<i>not</i>_ in the list of paths FreeBSD’s clang checks by default. The result is a failure to find the include.</div>
<div><font face="Calibri"> </font></div>
<div>I don’t know what the right solution is and I don’t know cmake. Perhaps making sure that “/usr/local/lib/../include” gets a “-I” flag to the clang build since that /lib/ directory is where libcurl.so was found?</div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri" size="2"><span style="font-size:10pt">--<font size="2"><span style="font-size:11pt">
<br>
</span></font><font face="Courier New">Kevin P. Neal<br>
</font><font face="Courier New">SAS/C and SAS/C++ Compiler</font></span></font></div>
<div><font size="2"><span style="font-size:10pt">Compute Services</span></font></div>
<div><font size="2"><span style="font-size:10pt">SAS Institute, Inc.</span></font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
</span></font>
</div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>