Skip to content

Commit bdffcef

Browse files
authored
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`
1 parent 5ed0929 commit bdffcef

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,8 @@ export OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
158158
brew install protobuf boost boost-python log4cxx jsoncpp
159159
// If you are using python3, you need to install boost-python3
160160

161-
# For gtest
162-
cd $HOME
163-
git clone https://github.com/google/googletest.git
164-
cd googletest
165-
git checkout release-1.12.1
166-
cmake .
167-
make install
168-
# Refer gtest documentation in case you get stuck somewhere
161+
# For GoogleTest
162+
brew install googletest
169163
```
170164

171165
#### Compile Pulsar client library:

0 commit comments

Comments
 (0)