From 5aee8567b8c0ec3d242424bdc88a32f3303e61c4 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 18 Sep 2020 10:40:13 -0700 Subject: dependencies/curses: Add a system dependency That calls find_library and has_header in conjunction to look for curses implementations that are baked into the system without any other find method. --- docs/markdown/Dependencies.md | 4 ++-- docs/markdown/snippets/curses-dependency-improvements.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/markdown') diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index eccfe0a..a8ada1d 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -623,9 +623,9 @@ Curses (and ncurses) are a cross platform pain in the butt. Meson wraps up these dependencies in the `curses` dependency. This covers both `ncurses` (preferred) and other curses implementations. -`method` may be `auto`, `pkg-config`, or `config-tool` +`method` may be `auto`, `pkg-config`, `config-tool`, or `system`. -*New in 0.56.0* The `config-tool` method. +*New in 0.56.0* The `config-tool` and `system` methods.
1: They may appear to be case-insensitive, if the diff --git a/docs/markdown/snippets/curses-dependency-improvements.md b/docs/markdown/snippets/curses-dependency-improvements.md index bd1d001..237da4c 100644 --- a/docs/markdown/snippets/curses-dependency-improvements.md +++ b/docs/markdown/snippets/curses-dependency-improvements.md @@ -1,4 +1,4 @@ ## Improvements for the builtin curses dependency -This method has been extended to use config-tools for lookup as well as -pkg-config. +This method has been extended to use config-tools, and a fallback to +find_library for lookup as well as pkg-config. -- cgit v1.1