Skip to content

Commit 950c5cf

Browse files
committed
Install cmake only if needed
1 parent 5fd8aee commit 950c5cf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/travis/before-script.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ if test x"`uname`" = xDarwin ; then
55
sudo systemsetup -settimezone America/Los_Angeles
66
brew update || brew update || :
77
brew uninstall xctool && brew install --HEAD xctool
8-
brew install cmake
8+
if ! which cmake >/dev/null ; then
9+
brew install cmake
10+
fi
911
elif test x"`uname`" = xLinux ; then
1012
git clone --depth=1 https://github.com/dinhviethoa/libetpan
1113
cd libetpan

0 commit comments

Comments
 (0)