Skip to content

Commit

Permalink
Add cmake dependency checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Serg Baburin committed Nov 10, 2016
1 parent 3b80e6e commit 115a7d0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ else
fi


echo "Check cmake..."
which cmake > /dev/null
if [ "$?" != "0" ]; then
echo "Oops... cmake was not found, install it before"
exit 1
else
echo "Ok"
fi


if [ ! -f ~/.vimrc ] && [ ! -d ~/.vim ]; then
create_vim_files
else
Expand Down

0 comments on commit 115a7d0

Please sign in to comment.