Skip to content

FindCurses enhancements

scivision requested to merge scivision/cmake:curses into master
  1. add CURSES::CURSES imported target
  2. 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.

Edited by scivision

Merge request reports