aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Subprojects.md
diff options
context:
space:
mode:
authorAlexis Jeandet <alexis.jeandet@member.fsf.org>2017-07-17 15:27:09 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-07-17 16:44:51 +0200
commite1b24765afd9e7d2d8043a408d69c7ad814d3551 (patch)
tree238e5acfe52f5693fbd657843f6fd3d31864fabf /docs/markdown/Subprojects.md
parent361b09c491f9bdff35046e78baeb8c0f9bf9feeb (diff)
downloadmeson-e1b24765afd9e7d2d8043a408d69c7ad814d3551.zip
meson-e1b24765afd9e7d2d8043a408d69c7ad814d3551.tar.gz
meson-e1b24765afd9e7d2d8043a408d69c7ad814d3551.tar.bz2
Removed minor typos in documentation.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Diffstat (limited to 'docs/markdown/Subprojects.md')
-rw-r--r--docs/markdown/Subprojects.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Subprojects.md b/docs/markdown/Subprojects.md
index 2dd012e..85453e3 100644
--- a/docs/markdown/Subprojects.md
+++ b/docs/markdown/Subprojects.md
@@ -62,7 +62,7 @@ proj_dep = declare_dependency(...)
Then you can use the subproject in the master project like this:
```meson
-sp_dep = dependency('subproj_pkgconfig_name', fallback : ['subproj_name', 'proj_dep']
+sp_dep = dependency('subproj_pkgconfig_name', fallback : ['subproj_name', 'proj_dep'])
```
This uses the system dependency when available and the self built version if not. If you want to always use the subproject, that is also possible, just use `subproject` and `get_variable` as discussed above to get the dependency object.