aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-05-05 01:00:01 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-05-05 01:07:01 +0200
commit32af8ddd3d63fe0936f9ae5b6ca09285bed1baff (patch)
tree19eb585f25a17bd4f93b3148be6c85ee47b73ddc
parentb4572c6217e869a236dc779120de1b057e30c652 (diff)
README.md: Fix CMake build instructions
The previous instructions were simply wrong because `cmake ..` would attempt to configure the project from the parent directory, instead of the build directory.
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3138817..46cfae2 100644
--- a/README.md
+++ b/README.md
@@ -90,9 +90,8 @@ $ make
#### CMake
```sh
-$ mkdir build/
-$ cmake ..
-$ cmake --build .
+$ cmake -B build
+$ cmake --build build/
```
### Setting up