aff CMake check before running the install
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@490 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
5fa9a0c354
commit
dd93a8cdc3
1 changed files with 8 additions and 0 deletions
|
|
@ -707,6 +707,14 @@ function run_install_step()
|
|||
execute_cmd "echo \"You must have automake installed to compile $PROG. Please update your system to get it before installing $PROG.\"" "[0-2] Check autoconf" $SPY
|
||||
DIE=1
|
||||
}
|
||||
|
||||
(cmake --version) < /dev/null > /dev/null 2>&1 ||
|
||||
{
|
||||
echo "You must have CMake installed to compile $PROG. Please update your system to get it before installing $PROG."
|
||||
execute_cmd "echo \"You must have CMake installed to compile $PROG. Please update your system to get it before installing $PROG.\"" "[0-3] Check autoconf" $SPY
|
||||
DIE=1
|
||||
}
|
||||
|
||||
if [ "$DIE" = "1" ]
|
||||
then
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue