aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFrédéric Wang <fwang@igalia.com>2016-10-19 21:42:41 +0200
committerFrédéric Wang <fred.wang@free.fr>2016-10-19 21:44:42 +0200
commit82c297f3564b9e69d7570d0914b011a1dd9c0618 (patch)
tree87c4990c246eb7f9aa83133ccd58db6f7342e94c /README.md
parent058a113dd9c1ba710d680c7742f84ced05098b87 (diff)
downloadbrotli-82c297f3564b9e69d7570d0914b011a1dd9c0618.zip
brotli-82c297f3564b9e69d7570d0914b011a1dd9c0618.tar.gz
brotli-82c297f3564b9e69d7570d0914b011a1dd9c0618.tar.bz2
Fix build instructions for cmake
Diffstat (limited to 'README.md')
-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