From 0bf8862bebf6057b3020443cee4238d6db5638d0 Mon Sep 17 00:00:00 2001 From: ePirat Date: Thu, 12 Dec 2019 14:10:36 +0100 Subject: [PATCH] docs: Fix wrong example for shaderc dependency [skip ci] The example is meant for wxWidgets not Shaderc. --- docs/markdown/Dependencies.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 39b7ccb93..e029a84bc 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -540,18 +540,6 @@ Meson substitutes `modules` to `wx-config` invocation, it generates - `compile_args` using `wx-config --cxxflags $modules...` - `link_args` using `wx-config --libs $modules...` -## Shaderc - -*(added 0.51.0)* - -Shaderc currently does not ship with any means of detection. Nevertheless, Meson -can try to detect it using `pkg-config`, but will default to looking for the -appropriate library manually. If the `static` keyword argument is `true`, -`shaderc_combined` is preferred. Otherwise, `shaderc_shared` is preferred. Note -that it is not possible to obtain the shaderc version using this method. - -`method` may be `auto`, `pkg-config` or `system`. - ### Example ```meson @@ -568,6 +556,18 @@ $ wx-config --cxxflags std stc $ wx-config --libs std stc ``` +## Shaderc + +*(added 0.51.0)* + +Shaderc currently does not ship with any means of detection. Nevertheless, Meson +can try to detect it using `pkg-config`, but will default to looking for the +appropriate library manually. If the `static` keyword argument is `true`, +`shaderc_combined` is preferred. Otherwise, `shaderc_shared` is preferred. Note +that it is not possible to obtain the shaderc version using this method. + +`method` may be `auto`, `pkg-config` or `system`. +
1: They may appear to be case-insensitive, if the underlying file system happens to be case-insensitive.