From 465ad6d261e2733c60c3a066eebabee72f14346a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volker=20Wei=C3=9Fmann?= Date: Wed, 2 Aug 2023 17:28:03 +0200 Subject: Fix syntax mistakes in two examples --- docs/markdown/CMake-module.md | 2 +- docs/markdown/Release-notes-for-0.51.0.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/markdown/CMake-module.md b/docs/markdown/CMake-module.md index ceaee0b..f8275c9 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 diff --git a/docs/markdown/Release-notes-for-0.51.0.md b/docs/markdown/Release-notes-for-0.51.0.md index da80db2..635fbbd 100644 --- a/docs/markdown/Release-notes-for-0.51.0.md +++ b/docs/markdown/Release-notes-for-0.51.0.md @@ -325,7 +325,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]) ``` It should be noted that not all projects are guaranteed to work. The -- cgit v1.1