BUG: If bootstrap cmake is run with no argument produce error
This commit is contained in:
parent
36c8f1d157
commit
cc5c136cb8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue