aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--content/2022-05-30-cmake-cargo-example.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/2022-05-30-cmake-cargo-example.md b/content/2022-05-30-cmake-cargo-example.md
index 56810e6..f6ebd0a 100644
--- a/content/2022-05-30-cmake-cargo-example.md
+++ b/content/2022-05-30-cmake-cargo-example.md
@@ -17,7 +17,7 @@ includes the rust crate via [add_subdirectory][cmake-add_sub] and then adds a
link dependency.
```cmake
-{{ include(path="2022-05-30-cmake-cargo-example/CMakeLists.txt") }}
+{{ include(path="content/2022-05-30-cmake-cargo-example/CMakeLists.txt") }}
```
The more interesting bits are included in the rust crate.
@@ -49,14 +49,14 @@ by the following two configurations:
where to generate the C header.
```cmake
-{{ include(path="2022-05-30-cmake-cargo-example/libcalc/CMakeLists.txt") }}
+{{ include(path="content/2022-05-30-cmake-cargo-example/libcalc/CMakeLists.txt") }}
```
The sources referenced in this post are available [here][post-src]. This
repository includes the following Makefile to build and run the calc
executable.
```make
-{{ include(path="2022-05-30-cmake-cargo-example/Makefile") }}
+{{ include(path="content/2022-05-30-cmake-cargo-example/Makefile") }}
```
[post-src]: https://git.memzero.de/johannst/blog/src/branch/main/content/2022-05-30-cmake-cargo-example