diff --git a/install-timelord.sh b/install-timelord.sh index 1cf12deba1f5..35583f06c447 100755 --- a/install-timelord.sh +++ b/install-timelord.sh @@ -113,8 +113,11 @@ else symlink_vdf_bench "$PYTHON_VERSION" elif [ -e venv/bin/python ] && test "$MACOS"; then echo "Installing chiavdf dependencies for MacOS." + if ! cmake --version >/dev/null 2>&1; then + brew install --formula --quiet cmake + fi # The most recent boost version causes compile errors. - brew install --formula --quiet boost@1.85 cmake gmp + brew install --formula --quiet boost@1.85 gmp # boost@1.85 is keg-only, which means it was not symlinked into /usr/local, # because this is an alternate version of another formula. export LDFLAGS="-L/usr/local/opt/boost@1.85/lib"