Really fix ncurses lookup on Arch Linux
authorsfan5 <sfan5@live.de>
Mon, 16 May 2016 10:42:51 +0000 (12:42 +0200)
committersfan5 <sfan5@live.de>
Mon, 16 May 2016 10:43:50 +0000 (12:43 +0200)
Commit 27ee8d8943080a5dd735c9faa47c726604bafdff forgot to add the paths
without ncursesw/ to the find_path() call

cmake/Modules/FindNcursesw.cmake

index b8c7f78f2ee0f48abb0b867e343ea885f5c37e1b..e572c704af5ba649319f690bd8a1a5b4394320c5 100644 (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"
     )