<div dir="ltr">Juan,<br><br>Thanks for your suggestions. I went through that thread pretty thoroughly trying all of the recommended tips and, unfortunately, nothing seemed to work. I also tried running that open command you cited, but there are still no includes for ncurses in /usr/include or /usr/local/include. In fact /usr/include doesn't even exist on this system (mojave).</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2019 at 5:27 PM Juan E. Sanchez <<a href="mailto:juan.e.sanchez@gmail.com">juan.e.sanchez@gmail.com</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">Hello,<br>
<br>
According to this:<br>
<a href="https://github.com/neovim/neovim/issues/9050" rel="noreferrer" target="_blank">https://github.com/neovim/neovim/issues/9050</a><br>
<br>
It looks like macOS made it so you have to do something like this:<br>
open <br>
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg<br>
<br>
for libraries and includes to be put into /usr.<br>
<br>
Regards,<br>
<br>
Juan<br>
<br>
<br>
On 6/3/19 5:16 PM, Bryan Christ wrote:<br>
> New to this mailing list so I hope I'm asking this in the right venue...<br>
> <br>
> I'm trying to port my application (a program and a shared library) to <br>
> OSX. It was rather easy to modify my CMake script to go from Linux and <br>
> add in FreeBSD. OSX is giving me a lot of problems though.<br>
> <br>
> First of all find_package() doesn't seem to find the ncurses.dylib <br>
> installed by XCode as it test for wsyncup(). For whatever reason, that <br>
> test fails. The default location for the library is pretty sane <br>
> (/usr/lib/) but the include file for ncurses is about 9 directories deep <br>
> inside of XCode's install directory. Lots of problems here so I decided <br>
> to look at the symbol linkage for htop and see what it does. It links <br>
> to a different version that got pulled down via homebrew in <br>
> /usr/local/opt/ncurses/lib (and include respectively)<br>
> <br>
> Is there a way to force CMake to link to the library found there instead <br>
> of in /usr/lib/ ?<br>
> <br>
> -- <br>
> Bryan<br>
> <><<br>
> <br>
<br>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Bryan<br><><</div>