mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 23:19:58 -06:00
BUG: If bootstrap cmake is run with no argument produce error
This commit is contained in:
@@ -162,6 +162,12 @@ int do_cmake(int ac, char** av)
|
||||
}
|
||||
return result;
|
||||
}
|
||||
#else
|
||||
if ( nocwd || ac == 1 )
|
||||
{
|
||||
std::cout << "Bootstrap CMake should not be used outside CMake build process." << std::endl;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool wiz = false;
|
||||
|
||||
Reference in New Issue
Block a user