File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,17 @@ version of the library.
49
49
50
50
### CMake
51
51
52
- To build the ninja binary without building the unit tests, disable test building by setting ` BUILD_TESTING ` to ` false ` :
52
+ To build the ninja binary without building the unit tests, disable test building by setting ` BUILD_TESTING ` to ` OFF ` :
53
53
54
54
```
55
- cmake -Bbuild-cmake -DBUILD_TESTING=false
55
+ cmake -Bbuild-cmake -DBUILD_TESTING=OFF
56
56
cmake --build build-cmake
57
57
```
58
58
59
59
The ` ninja ` binary will now be inside the ` build-cmake ` directory (you can
60
60
choose any other name you like).
61
61
62
- To run the unit tests, omit the ` -DBUILD_TESTING=false ` option, and after building, run:
62
+ To run the unit tests, omit the ` -DBUILD_TESTING=OFF ` option, and after building, run:
63
63
64
64
```
65
65
./build-cmake/ninja_test
You can’t perform that action at this time.
0 commit comments