mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
gui: use NCURSES_CFLAGS if available
This commit is contained in:
committed by
Sébastien Helleu
parent
9a9a262ea1
commit
47f7518c1f
@@ -33,6 +33,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