mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 03:33:12 +02:00
gui: use NCURSES_CFLAGS if available
This commit is contained in:
committed by
Sébastien Helleu
parent
f07d439cec
commit
7a757d94c0
@@ -31,6 +31,7 @@ set(LIB_GUI_CURSES_SRC
|
||||
|
||||
find_package(Ncurses)
|
||||
if(NCURSES_FOUND)
|
||||
add_definitions(${NCURSES_CFLAGS})
|
||||
check_include_files(ncursesw/ncurses.h NCURSESW_HEADERS)
|
||||
if(NCURSESW_HEADERS)
|
||||
add_definitions(-DHAVE_NCURSESW_CURSES_H)
|
||||
|
||||
Reference in New Issue
Block a user