- add CURSES::CURSES imported target
- when finding curses.h, use PATH_SUFFIXES to allow project code with
#include <curses.h>to work, that's the most generic use case I believe
Point 2 assumes that most devs use
#include <curses.h> to be generic. Before this MR, I have to have my own FindCurses.cmake.
1 and 2 are independent, so at least CURSES::CURSES should be useful.