From 350fed8a5805529996a6bb2a6e22dd8f779b11cb Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Tue, 31 Mar 2020 02:44:09 +0200 Subject: [PATCH] readme: use cmake -S instead of undocumented -H undocumented -H for source directory was replaced by documented -S and -H is now an alias to --help --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a0b539a..9592b437 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ This project uses the usual CMake workflow: #### Debug build ```sh -cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug +cmake -G "Unix Makefiles" -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug cmake --build build -- -j$(nproc) ``` @@ -135,7 +135,7 @@ cmake --build build -- -j$(nproc) #### Release build ```sh -cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release +cmake -G "Unix Makefiles" -S. -Bbuild -DCMAKE_BUILD_TYPE=Release cmake --build build -- -j$(nproc) ``` -- 2.39.2