ccmake: does not support ncursesw
compiling cmake-3.13.4 using "./bootstrap --prefix=/usr/local --system-libs" gives an error that ncurses cannot be found.
On this system, there are only ncurses wide libs and they are installed in /usr/local/lib with the headers in /usr/local/include/ncursesw.
After trying to force things in Modules/FindCurses.cmake
:
set(CURSES_NEED_NCURSES TRUE)
set(CURSES_NEED_WIDE TRUE)
set(CURSES_NCURSES_INCLUDE_PATH "/usr/local/include")
set(CURSES_FORM_LIBRARY "/usr/local/lib/libformw.so")
./bootstrap still gives an error that ncurses detection failed, but "make" succeeds after correcting #include <form.h>
to <ncursesw/form.h>
in Source/CursesDialog/cmCursesStandardIncludes.h
I guess I'm missing something somewhere - what is the correct way to deal with this?