minor cmake fix: ncurses header as system includes

Gentoo
Christian Burger 2022-04-18 11:43:26 +01:00
parent 0a916fe01a
commit 45beee33a8
1 changed files with 1 additions and 2 deletions

View File

@ -1,10 +1,9 @@
# @author Christian Burger <christian@krikkel.de>
### ncurses
set(CURSES_NEED_NCURSES TRUE)
set(CURSES_NEED_WIDE TRUE)
find_package(Curses 6.2 REQUIRED)
include_directories(${CURSES_INCLUDE_DIRS})
include_directories(SYSTEM ${CURSES_INCLUDE_DIRS})
# find C++ interface for ncurses with unicode support
find_library(CURSES_CPP_WIDE_LIBRARY NAMES ncurses++w REQUIRED)