diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-04 15:03:38 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-04 15:03:38 (GMT) |
commit | 6cb01848fbcb542100152930169a64f1a20cba6b (patch) | |
tree | 81595543da0957fc9b2832b7d15afc60cceb86ef /bootstrap | |
parent | 7bc8413a0f4761e7c5a5fb1cccc8350f3d47f47d (diff) | |
download | CMake-6cb01848fbcb542100152930169a64f1a20cba6b.zip CMake-6cb01848fbcb542100152930169a64f1a20cba6b.tar.gz CMake-6cb01848fbcb542100152930169a64f1a20cba6b.tar.bz2 |
BUG: Handle when initial cmake fails
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 "---------------------------------------------" |