branch: externals/hotfuzz
commit ff9d8c047d3911ea3f29677bb61e36b49bccd4db
Author: Axel Forsman <[email protected]>
Commit: Axel Forsman <[email protected]>

    Reference the -B flag in CMake build instructions
    
    This avoids the mkdir/cd dance.
---
 README.md | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index bb7be2dee3..aab8a81ffb 100644
--- a/README.md
+++ b/README.md
@@ -53,10 +53,8 @@ To compile, make sure GCC, CMake and GNU Make or similar are 
present,
 and run
 
 ```sh
-mkdir build
-cd build
-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-march=native .. &&
-       cmake --build .
+cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-march=native . &&
+       cmake --build build
 ```
 
 and place the resulting shared library somewhere in `load-path`.

Reply via email to