#!/usr/bin/env bash
echo "Cloning latest google test repository"
git clone https://github.com/google/googletest.git

mkdir build
cd build
cmake ../googletest -DCMAKE_INSTALL_PREFIX=../dist
make install

#!/usr/bin/env bash
echo "Cloning latest google test repository"
git clone https://github.com/google/googletest.git

mkdir build
cd build
cmake ../googletest -DCMAKE_INSTALL_PREFIX=../dist
cmake --build . --target install

Use cmake instead of make call for install
Use cmake instead of make call for install
