added cmake check for build-arm.sh

This commit is contained in:
jahway603
2022-09-19 22:11:12 -04:00
parent 67cccc23ef
commit 669447ba24

View File

@@ -7,6 +7,12 @@
set -eu -o pipefail set -eu -o pipefail
# Check if cmake, a new dependency for randomx support, is installed on system and exits if it is not
if ! [ -x "$(command -v cmake)" ]; then
echo 'Error: cmake is not installed. Install cmake and try again.' >&2
exit 1
fi
cat <<'EOF' cat <<'EOF'
.~~~~~~~~~~~~~~~~. .~~~~~~~~~~~~~~~~.
{{ Building Hush!! }} {{ Building Hush!! }}