Skip to content

Commit

Permalink
Check for CMake
Browse files Browse the repository at this point in the history
Just like we check for submodules nad premake, check for cmake
in the build script.

Closes surge-synthesizer#761
  • Loading branch information
baconpaul committed Mar 10, 2019
1 parent 107dca6 commit 72d393a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 72d393a

Please sign in to comment.