This is an automated email from the ASF dual-hosted git repository.

jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 55e3940  fix googletest compile commands on macos
     new da6ef67  Merge pull request #650 from choleraehyq/patch-1
55e3940 is described below

commit 55e39400f01f2af5bb86998aacdcfcba0c06bcc1
Author: Cholerae Hu <[email protected]>
AuthorDate: Thu Feb 14 11:19:19 2019 +0800

    fix googletest compile commands on macos
---
 docs/cn/getting_started.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/cn/getting_started.md b/docs/cn/getting_started.md
index adfba48..8b1bca0 100644
--- a/docs/cn/getting_started.md
+++ b/docs/cn/getting_started.md
@@ -276,7 +276,7 @@ brew install gperftools
 
 If you need to run tests, install and compile googletest (which is not 
compiled yet):
 ```shell
-git clone https://github.com/google/googletest && cd googletest/googletest && 
mkdir bld && cd bld && cmake .. && make && sudo mv libgtest* /usr/lib/ && cd -
+git clone https://github.com/google/googletest && cd googletest/googletest && 
mkdir bld && cd bld && cmake -DCMAKE_CXX_FLAGS="-std=c++11" .. && make && sudo 
mv libgtest* /usr/lib/ && cd -
 ```
 
 ### Compile brpc with config_brpc.sh


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to