Update CMake configure command

Need to use `-S` instead of `-H`
This commit is contained in:
Daniel Way
2024-01-05 16:20:20 -07:00
committed by GitHub
parent 863c662c0e
commit 521b9ba3ed

View File

@@ -384,7 +384,7 @@ install it to the default location, like so:
```
$ git clone https://github.com/catchorg/Catch2.git
$ cd Catch2
$ cmake -Bbuild -H. -DBUILD_TESTING=OFF
$ cmake -Bbuild -S. -DBUILD_TESTING=OFF
$ sudo cmake --build build/ --target install
```