Browse Source

Really fix ncurses lookup on Arch Linux

Commit 27ee8d8943 forgot to add the paths
without ncursesw/ to the find_path() call
nephele-craftmethods
sfan5 6 years ago
parent
commit
decbd396df
  1. 2
      cmake/Modules/FindNcursesw.cmake

2
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"
)

Loading…
Cancel
Save