1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

core: display an error on missing dependency in CMake (closes #916, closes #956)

This commit is contained in:
Sébastien Helleu
2019-09-15 07:49:03 +02:00
parent 9cb6857672
commit bff40e4c26
5 changed files with 43 additions and 18 deletions
+2
View File
@@ -40,6 +40,8 @@ if(NCURSES_FOUND)
add_definitions(-DHAVE_NCURSES_H)
endif()
endif()
else()
message(SEND_ERROR "Ncurses not found")
endif()
include_directories(.. ../../core ../../plugins ${NCURSES_INCLUDE_PATH})