mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-19 19:25:38 +02:00
Update CMake configure command
Need to use `-S` instead of `-H`
This commit is contained in:
@@ -384,7 +384,7 @@ install it to the default location, like so:
|
|||||||
```
|
```
|
||||||
$ git clone https://github.com/catchorg/Catch2.git
|
$ git clone https://github.com/catchorg/Catch2.git
|
||||||
$ cd Catch2
|
$ cd Catch2
|
||||||
$ cmake -Bbuild -H. -DBUILD_TESTING=OFF
|
$ cmake -Bbuild -S. -DBUILD_TESTING=OFF
|
||||||
$ sudo cmake --build build/ --target install
|
$ sudo cmake --build build/ --target install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user