From: sfan5 Date: Mon, 16 May 2016 10:42:51 +0000 (+0200) Subject: Really fix ncurses lookup on Arch Linux X-Git-Tag: 0.4.15~414 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=decbd396df0855f0a356c836cf7c0c5b133964cf;p=oweals%2Fminetest.git Really fix ncurses lookup on Arch Linux Commit 27ee8d8943080a5dd735c9faa47c726604bafdff forgot to add the paths without ncursesw/ to the find_path() call --- diff --git a/cmake/Modules/FindNcursesw.cmake b/cmake/Modules/FindNcursesw.cmake index b8c7f78f2..e572c704a 100644 --- a/cmake/Modules/FindNcursesw.cmake +++ b/cmake/Modules/FindNcursesw.cmake @@ -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" )