mirror of
https://github.com/google/benchmark.git
synced 2025-01-27 20:30:15 +08:00
README.md: fix build instructions (#1880)
Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
This commit is contained in:
parent
7ddc400d62
commit
f981f58da3
@ -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 New Issue
Block a user