Really fix ncurses lookup on Arch Linux

Commit 27ee8d8943 forgot to add the paths
without ncursesw/ to the find_path() call
This commit is contained in:
sfan5 2016-05-16 12:42:51 +02:00
parent 7a828de1bc
commit decbd396df
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ if(CURSES_USE_NCURSESW)
get_filename_component(_cursesParentDir "${_cursesLibDir}" PATH)
find_path(CURSES_INCLUDE_PATH
NAMES ncursesw/ncurses.h ncursesw/curses.h
NAMES ncursesw/ncurses.h ncursesw/curses.h ncurses.h curses.h
HINTS "${_cursesParentDir}/include"
)