diff --git a/Application/cmake_conda_osx.sh b/Application/cmake_conda_osx.sh index 337366c168d73efe705ddc15447d14f2618cf0af..d14d6dbf29b1781e4cafcf9ac32ac1e2b2d3f13b 100755 --- a/Application/cmake_conda_osx.sh +++ b/Application/cmake_conda_osx.sh @@ -10,6 +10,13 @@ if [ ! $(which cmake) ]; then exit 1 fi +if [ ! $(which git) ]; then + echo "You need to have git installed to build this project." + exit 1 +fi + +git submodule update --recursive --init + IN_CONDA="" if [ ! $(printenv CONDA_PREFIX_1) ] ]; then IN_CONDA=${CONDA_PREFIX}