aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2016-05-16 12:42:51 +0200
committersfan5 <sfan5@live.de>2016-05-16 12:43:50 +0200
commitdecbd396df0855f0a356c836cf7c0c5b133964cf (patch)
treec127d351cefe3788fb2c2d0011535de037bba8ec /cmake
parent7a828de1bc658938243c0ddf85b7aab7a1087ccd (diff)
downloadminetest-decbd396df0855f0a356c836cf7c0c5b133964cf.tar.gz
minetest-decbd396df0855f0a356c836cf7c0c5b133964cf.tar.bz2
minetest-decbd396df0855f0a356c836cf7c0c5b133964cf.zip
Really fix ncurses lookup on Arch Linux
Commit 27ee8d8943080a5dd735c9faa47c726604bafdff forgot to add the paths without ncursesw/ to the find_path() call
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindNcursesw.cmake2
1 files changed, 1 insertions, 1 deletions
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"
)