CMake does not find ncurses on Mac OSX 10.14 (mojave)
The find_package() module cannot locate ncurses or ncursesw on OSX Mojave. I believe this is because XCode no longer installs it to /usr/include or /usr/local/include (as I understand it used to). The root for ncurses is:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib
Bryans-Mac-mini:lib bryanc$ ls -l |grep ncurse
lrwxr-xr-x 1 root wheel 18 May 28 21:38 libcurses.tbd -> libncurses.5.4.tbd
-rw-r--r-- 1 root wheel 11145 Mar 13 08:43 libncurses.5.4.tbd
lrwxr-xr-x 1 root wheel 18 May 28 21:38 libncurses.5.tbd -> libncurses.5.4.tbd
lrwxr-xr-x 1 root wheel 18 May 28 21:38 libncurses.tbd -> libncurses.5.4.tbd
lrwxr-xr-x 1 root wheel 18 May 28 21:38 libtermcap.tbd -> libncurses.5.4.tbd
The corresponding header includes are located in:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include