mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
minor fix to allow if with no arguments
This commit is contained in:
@@ -134,6 +134,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args, bool &isValid,
|
||||
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
isValid = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user