diff options
Diffstat (limited to 'docs/markdown/Subprojects.md')
-rw-r--r-- | docs/markdown/Subprojects.md | 2 |
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. |