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;
|
return result;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if ( nocwd || ac == 1 )
|
||||||
|
{
|
||||||
|
std::cout << "Bootstrap CMake should not be used outside CMake build process." << std::endl;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool wiz = false;
|
bool wiz = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user