<div dir="ltr">New to this mailing list so I hope I'm asking this in the right venue...<div><br></div><div>I'm trying to port my application (a program and a shared library) to OSX.  It was rather easy to modify my CMake script to go from Linux and add in FreeBSD.  OSX is giving me a lot of problems though.</div><div><br></div><div>First of all find_package() doesn't seem to find the ncurses.dylib installed by XCode as it test for wsyncup().  For whatever reason, that test fails.  The default location for the library is pretty sane (/usr/lib/) but the include file for ncurses is about 9 directories deep inside of XCode's install directory.  Lots of problems here so I decided to look at the symbol linkage for htop and see what it does.  It links to a different version that got pulled down via homebrew in /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 of in /usr/lib/ ?<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Bryan<br><><</div></div></div>