aboutsummaryrefslogtreecommitdiffhomepage
path: root/content
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-05-30 20:52:39 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-05-30 20:52:39 +0200
commitbec68bdb8bacacc2d3a5e7895a399d4d1688aa87 (patch)
treeb3652227f153eb87615a53004f4dc0c26e4a31b0 /content
parenta93e90cf3c50344a2582acb0e60187dbef90ee28 (diff)
downloadblog-bec68bdb8bacacc2d3a5e7895a399d4d1688aa87.tar.gz
blog-bec68bdb8bacacc2d3a5e7895a399d4d1688aa87.zip
cmake: fix inlcude paths
Diffstat (limited to 'content')
-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