mirror of
https://github.com/google/benchmark.git
synced 2024-11-29 00:34:42 +00:00
README.md: fix build instructions
This commit is contained in:
parent
62a321d6dc
commit
5603ef086e
|
@ -78,7 +78,7 @@ $ cmake -E make_directory "build"
|
|||
# Generate build system files with cmake, and download any dependencies.
|
||||
$ cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../
|
||||
# or, starting with CMake 3.13, use a simpler form:
|
||||
# cmake -DCMAKE_BUILD_TYPE=Release -S . -B "build"
|
||||
# cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release -S . -B "build"
|
||||
# Build the library.
|
||||
$ cmake --build "build" --config Release
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue