diff options
| author | Volker Weißmann <volker.weissmann@gmx.de> | 2023-08-02 17:28:03 +0200 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2023-08-02 11:33:37 -0400 |
| commit | 465ad6d261e2733c60c3a066eebabee72f14346a (patch) | |
| tree | 37a9719ea24f7bf5840238e5e1a92c7c5ec0d02a /docs/markdown/CMake-module.md | |
| parent | 13f8eba9b63fe5185ba34c2690dffac651d91593 (diff) | |
| download | meson-465ad6d261e2733c60c3a066eebabee72f14346a.tar.gz | |
Fix syntax mistakes in two examples
Diffstat (limited to 'docs/markdown/CMake-module.md')
| -rw-r--r-- | docs/markdown/CMake-module.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/CMake-module.md b/docs/markdown/CMake-module.md index ceaee0b1c..f8275c981 100644 --- a/docs/markdown/CMake-module.md +++ b/docs/markdown/CMake-module.md @@ -41,7 +41,7 @@ sub_proj = cmake.subproject('libsimple_cmake') # Fetch the dependency object cm_lib = sub_proj.dependency('cm_lib') -executable(exe1, ['sources'], dependencies: [cm_lib]) +executable('exe1', ['sources'], dependencies: [cm_lib]) ``` The `subproject` method is almost identical to the normal Meson |
