Skip to content

FindCurses: use tinfow when wide support is requested

Manuel Herrmann requested to merge 0x17de/cmake:fix-findcurses into master

ncurses has a separate library for wide character support: ncursesw. A produced output executable would segfault if ncursesw is linked together with tinfo instead of tinfow. The library name in find_library is now set accordingly for each of both cases (ncurses / ncursesw).

Topic-rename: FindCurses-tinfow

Edited by Brad King

Merge request reports