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 committed 2016-05-16 12:43:50 +02:00
1 parent 7a828de1bc
commit decbd396df
1 file changed
+1 -1
+1 -1
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"
)