diff options
author | Rich Wareham <rjw57@cantab.net> | 2014-02-27 10:27:49 +0000 |
---|---|---|
committer | Rich Wareham <rjw57@cantab.net> | 2014-02-27 10:27:49 +0000 |
commit | 97e635e8b6fba11ed1237cda3986139d2e6a2170 (patch) | |
tree | 9077c15bb189369f989f5c960e0b51ff91967dbc | |
parent | 653c1eb0d2c2ff8a07a68a93591c68a701ca5bd5 (diff) | |
parent | 82b724af4b996eb226c663cbdebf640331107dc5 (diff) | |
download | rneovim-97e635e8b6fba11ed1237cda3986139d2e6a2170.tar.gz rneovim-97e635e8b6fba11ed1237cda3986139d2e6a2170.tar.bz2 rneovim-97e635e8b6fba11ed1237cda3986139d2e6a2170.zip |
Merge pull request #184 from equalsraf/tb-curses
Use FindCurses.cmake as fallback to find curses libraries
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a7e815fd7c..6918aee61a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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() |