Skip to content

Commit

Permalink
Check for CMake (#764)
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 #761
  • Loading branch information
baconpaul authored Mar 10, 2019
1 parent 107dca6 commit 76c7449
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 76c7449

Please sign in to comment.