Skip to content

Commit

Permalink
Merge pull request #356 from elmodaddyb/googletest-cc14
Browse files Browse the repository at this point in the history
Build GoogleTest with c++14 standard
  • Loading branch information
whyman committed Oct 3, 2018
2 parents e9c9bf8 + 826650b commit 4cfe60d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install-googletest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ cd googletest-master || exit 1
## Build GoogleTest using CMake
mkdir build && cd build || exit 1
if [[ $CXX == clang++* ]]; then
cmake -DCMAKE_CXX_FLAGS="-stdlib=libc++" ../
cmake -DCMAKE_CXX_FLAGS="-stdlib=libc++ -std=c++14" ../
else
cmake ../
cmake -DCMAKE_CXX_FLAGS="-std=c++14" ../
fi
make && make install

Expand Down

0 comments on commit 4cfe60d

Please sign in to comment.