aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2016-10-19 22:27:45 +0200
committerGitHub <noreply@github.com>2016-10-19 22:27:45 +0200
commit74147a1a41c21c1718bbac002f3f07aa6c70659e (patch)
tree87c4990c246eb7f9aa83133ccd58db6f7342e94c
parent058a113dd9c1ba710d680c7742f84ced05098b87 (diff)
parent82c297f3564b9e69d7570d0914b011a1dd9c0618 (diff)
downloadbrotli-74147a1a41c21c1718bbac002f3f07aa6c70659e.zip
brotli-74147a1a41c21c1718bbac002f3f07aa6c70659e.tar.gz
brotli-74147a1a41c21c1718bbac002f3f07aa6c70659e.tar.bz2
Merge pull request #454 from fred-wang/brotli-readme
Fix build instructions for cmake
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 17b6058..e9c1f0e 100644
--- a/README.md
+++ b/README.md
@@ -33,14 +33,15 @@ See [Bazel](http://www.bazel.io/)
The basic commands to build, test and install brotli are:
- $ mkdir out && cd out && cmake .. && make test
+ $ mkdir out && cd out && cmake .. && make
+ $ make test
$ make install
You can use other [CMake](https://cmake.org/) configuration. For example, to
build static libraries and use a custom installation directory:
- $ mkdir out-shared && \
- cd out-shared && \
+ $ mkdir out-static && \
+ cd out-static && \
cmake .. -DBUILD_SHARED_LIBS=0 -DCMAKE_INSTALL_PREFIX='/my/install/dir/'
$ make install