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 diff --git a/docs/markdown/Release-notes-for-0.51.0.md b/docs/markdown/Release-notes-for-0.51.0.md index da80db2f2..635fbbdda 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