diff --git a/Tools/setup/macos.sh b/Tools/setup/macos.sh index a3457129ee..d1750bcb3d 100755 --- a/Tools/setup/macos.sh +++ b/Tools/setup/macos.sh @@ -66,6 +66,12 @@ else fi fi +# Install ccache (used by cmake/ccache.cmake to speed up builds) +if ! command -v ccache &> /dev/null; then + echo "[macos.sh] Installing ccache" + brew install ccache +fi + # Python dependencies echo "[macos.sh] Installing Python3 dependencies" # We need to have future to install pymavlink later.