mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
bring terminfo back into windows build #2014
This commit is contained in:
parent
a77adfac3d
commit
dd8700bddd
1
.github/workflows/windows_test.yml
vendored
1
.github/workflows/windows_test.yml
vendored
@ -33,6 +33,7 @@ jobs:
|
||||
mingw-w64-ucrt-x86_64-doctest
|
||||
mingw-w64-ucrt-x86_64-ffmpeg
|
||||
mingw-w64-ucrt-x86_64-libunistring
|
||||
mingw-w64-ucrt-x86_64-ncurses
|
||||
mingw-w64-ucrt-x86_64-rust
|
||||
mingw-w64-ucrt-x86_64-toolchain
|
||||
|
||||
|
@ -103,7 +103,6 @@ if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||
endif()
|
||||
# some distros (<cough>motherfucking alpine</cough> subsume terminfo directly
|
||||
# into ncurses. accept either, and may god have mercy on our souls.
|
||||
if(NOT WIN32)
|
||||
pkg_search_module(TERMINFO REQUIRED tinfo>=6.1 ncursesw>=6.1)
|
||||
set_property(GLOBAL APPEND PROPERTY PACKAGES_FOUND terminfo)
|
||||
set_package_properties(terminfo PROPERTIES TYPE REQUIRED)
|
||||
|
@ -12,6 +12,8 @@ extern "C" {
|
||||
#include <term.h>
|
||||
#include <ncurses.h>
|
||||
#include <time.h>
|
||||
#include <term.h>
|
||||
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user