From 82c297f3564b9e69d7570d0914b011a1dd9c0618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Wed, 19 Oct 2016 21:42:41 +0200 Subject: Fix build instructions for cmake --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') 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 -- cgit v1.1