fixes #6096. Didn't use CMake because Curses is a real corner-case for CMake that would require Curses-specific enhancements to Meson's CMake interface.pull/6343/merge
parent
4e41acb022
commit
c7cc734132
4 changed files with 42 additions and 1 deletions
@ -0,0 +1,7 @@ |
||||
#include "curses.h" |
||||
|
||||
int main(void) { |
||||
initscr(); |
||||
endwin(); |
||||
return 0; |
||||
} |
@ -0,0 +1,9 @@ |
||||
project('curses', 'c') |
||||
|
||||
curses = dependency('curses', required: false) |
||||
if not curses.found() |
||||
error('MESON_SKIP_TEST: Curses library not found') |
||||
endif |
||||
|
||||
exec = executable('basic', 'main.c', dependencies: curses) |
||||
# didn't run the test because in general graphics fail on CI |
Loading…
Reference in new issue