From 5b4f151edd8531e879a08998f583a530450d00db Mon Sep 17 00:00:00 2001 From: Christian Burger Date: Mon, 18 Apr 2022 11:43:26 +0100 Subject: [PATCH] minor cmake fix: ncurses header as system includes --- cmake/ncurses.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)