need TERMINFO_INCLUDE_DIRS for notcurses-demo on mac

This commit is contained in:
nick black 2021-08-05 03:28:01 -05:00
parent 4ed0e09e26
commit ee2fcb4039
4 changed files with 2 additions and 2 deletions

View File

@ -515,6 +515,7 @@ target_include_directories(notcurses-demo
PRIVATE
include
src
"${TERMINFO_INCLUDE_DIRS}"
"${CMAKE_REQUIRED_INCLUDES}"
"${PROJECT_BINARY_DIR}/include"
)

View File

@ -9,6 +9,7 @@ extern "C" {
#include "builddef.h"
#include <term.h>
#include <ncurses.h>
#include <time.h>
#include <stdio.h>
#include <stdint.h>

View File

@ -15,7 +15,6 @@
#include <stdlib.h>
#include <unistr.h>
#include <locale.h>
#include <ncurses.h>
#include <uniwbrk.h>
#include <inttypes.h>
#include <notcurses/direct.h>

View File

@ -1,6 +1,5 @@
#include <fcntl.h>
#include <unistd.h>
#include <ncurses.h>
#ifdef __linux__
#include <sys/utsname.h>
#endif