diff --git a/cmake/ncurses.cmake b/cmake/ncurses.cmake index 6643fa1..2761644 100644 --- a/cmake/ncurses.cmake +++ b/cmake/ncurses.cmake @@ -1,10 +1,9 @@ # @author Christian Burger -### 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)