mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #184 from equalsraf/tb-curses
Use FindCurses.cmake as fallback to find curses libraries
This commit is contained in:
commit
97e635e8b6
@ -35,7 +35,8 @@ else()
|
||||
if (HAVE_LIBCURSES)
|
||||
target_link_libraries(nvim curses)
|
||||
else()
|
||||
message(FATAL_ERROR "can't find something resembling -ltermcap")
|
||||
find_package(Curses REQUIRED)
|
||||
target_link_libraries(nvim ${CURSES_LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user