You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by kw...@apache.org on 2022/10/07 13:09:37 UTC

[pulsar-client-cpp] branch main updated: Install GoogleTest with homebrew in macOS (#20)

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

kwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new bdffcef  Install GoogleTest with homebrew in macOS (#20)
bdffcef is described below

commit bdffcef51caadc02ee4111cef51e4df2a228fdcc
Author: Max Xu <xu...@live.cn>
AuthorDate: Fri Oct 7 21:09:32 2022 +0800

    Install GoogleTest with homebrew in macOS (#20)
    
    ### Motivation
    
    Install `googletest` with homebrew in macOS is more convenient than manual compilation.
    
    ### Modifications
    
    Replace manual compilation with `brew install googletest`
---
 README.md | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index 155e6c6..1d15b79 100644
--- a/README.md
+++ b/README.md
@@ -158,14 +158,8 @@ export OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
 brew install protobuf boost boost-python log4cxx jsoncpp
 // If you are using python3, you need to install boost-python3
 
-# For gtest
-cd $HOME
-git clone https://github.com/google/googletest.git
-cd googletest
-git checkout release-1.12.1
-cmake .
-make install
-# Refer gtest documentation in case you get stuck somewhere
+# For GoogleTest
+brew install googletest
 ```
 
 #### Compile Pulsar client library: