Add cmake version tip to init.sh

This commit is contained in:
John Zhao 2018-04-18 12:14:20 +08:00
parent 06b69da37a
commit 7b288456a7

View File

@ -157,4 +157,12 @@ ROOT_DIR=$(realpath "$BASE_DIR/..")
_echo_s "Init git hooks"
$PYTHON "$ROOT_DIR/tools/linter/init-git-hooks.py"
## cmake version
_echo_s "Expect cmake version >= 3.0"
cmake --version | head -1
# sudo apt remove cmake
_echo "How to upgrade cmake in Ubuntu"
_echo " https://askubuntu.com/questions/829310/how-to-upgrade-cmake-in-ubuntu"
exit 0