Unverified Commit df41f388 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Adjust position of cmake

parent bd7cbbd1
...@@ -20,7 +20,7 @@ brpc depends on following packages: ...@@ -20,7 +20,7 @@ brpc depends on following packages:
Install common deps, [gflags](https://github.com/gflags/gflags), [protobuf](https://github.com/google/protobuf), [leveldb](https://github.com/google/leveldb): Install common deps, [gflags](https://github.com/gflags/gflags), [protobuf](https://github.com/google/protobuf), [leveldb](https://github.com/google/leveldb):
```shell ```shell
sudo apt-get install -y git g++ make libssl-dev cmake libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev sudo apt-get install -y git g++ make libssl-dev libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
``` ```
If you need to statically link leveldb: If you need to statically link leveldb:
...@@ -35,7 +35,7 @@ sudo apt-get install -y libgoogle-perftools-dev ...@@ -35,7 +35,7 @@ sudo apt-get install -y libgoogle-perftools-dev
If you need to run tests, install and compile libgtest-dev (which is not compiled yet): If you need to run tests, install and compile libgtest-dev (which is not compiled yet):
```shell ```shell
sudo apt-get install -y libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd - sudo apt-get install -y cmake libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
``` ```
The directory of gtest source code may be changed, try `/usr/src/googletest/googletest` if `/usr/src/gtest` is not there. The directory of gtest source code may be changed, try `/usr/src/googletest/googletest` if `/usr/src/gtest` is not there.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment