mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
BUG: Handle when initial cmake fails
This commit is contained in:
@@ -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 "---------------------------------------------"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user