BUG: Handle when initial cmake fails

This commit is contained in:
Andy Cedilnik 2005-03-04 10:03:38 -05:00
parent 7bc8413a0f
commit 6cb01848fb
1 changed files with 4 additions and 0 deletions

View File

@ -964,6 +964,10 @@ export MAKE
# Run bootstrap CMake to configure real CMake
"${cmake_bootstrap_dir}/cmake" "${cmake_source_dir}" "-C${cmake_bootstrap_dir}/InitialCacheFlags.cmake"
RES=$?
if [ "${RES}" -ne "0" ]; then
cmake_error 11 "Problem while running initial CMake"
fi
echo "---------------------------------------------"