Recreate gtest dir only if necessary.

This commit is contained in:
2019-09-22 18:48:43 +02:00
parent c7a7a98a39
commit 0130fedb61

View File

@@ -8,7 +8,7 @@ compiler:
# Install GTest properly since it is only available as a static library.
install:
- mkdir ~/gtest_build
- mkdir -p ~/gtest_build
- pushd ~/gtest_build
- cmake /usr/src/gtest -DBUILD_SHARED_LIBS=true
- make && sudo make install