From 72d393a2a316f0d6164d35ef7c72f70b3437459c Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 10 Mar 2019 09:19:15 -0400 Subject: [PATCH] Check for CMake Just like we check for submodules nad premake, check for cmake in the build script. Closes #761 --- build-osx.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build-osx.sh b/build-osx.sh index db1c7bcdfa4..eb0dfd45d8e 100755 --- a/build-osx.sh +++ b/build-osx.sh @@ -94,6 +94,15 @@ prerequisite_check() exit 1 fi + if [ ! $(which cmake) ]; then + echo + echo ${RED}ERROR: You do not have cmake on your path${NC} + echo + echo Please install cmake. "brew install cmake" or visit https://cmake.org + echo + exit 1 + fi + if [[ ( ! -z $SURGE_USE_VECTOR_SKIN ) && ( ! -d assets/${SURGE_USE_VECTOR_SKIN}/exported ) ]]; then echo echo ${RED}SURGE_USE_VECTOR_SKIN does not point to assets${NC}