FindCurses: Resolve includer `ncurses/` ambiguity
Since commit c41f7983 projects using FindCurses need to configure their code to include curses headers with or without the ncurses/
path component based on result variables provided by the module, such as CURSES_HAVE_NCURSES_H
and CURSES_HAVE_NCURSES_NCURSES_H
. CMake itself does that here. It is not clear why things are this way, but there may have been some problems with multiple curses/ncurses installations next to one another.
Fixing this will require resolving the ambiguity somehow in favor of includers using just <curses.h>
or <ncurses.h>
since the ncurses/
directory can just be added to the include directories. Due to the availability of multiple curses implementations clients may still have to configure which of these headers they include.