summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/find_program_version.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/find_program_version.md')
-rw-r--r--docs/markdown/snippets/find_program_version.md9
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/markdown/snippets/find_program_version.md b/docs/markdown/snippets/find_program_version.md
deleted file mode 100644
index 04424d730..000000000
--- a/docs/markdown/snippets/find_program_version.md
+++ /dev/null
@@ -1,9 +0,0 @@
-## Version check in `find_program()`
-
-A new `version` keyword argument has been added to `find_program` to specify
-the required version. See [`dependency()`](#dependency) for argument format.
-The version of the program is determined by running `program_name --version`
-command. If stdout is empty it fallbacks to stderr. If the output contains more
-text than simply a version number, only the first occurence of numbers separated
-by dots is kept. If the output is more complicated than that, the version
-checking will have to be done manually using [`run_command()`](#run_command).