diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-10-07 13:16:31 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-10-07 13:16:31 (GMT) |
commit | 2cf6730def50ea33360ecdaebb098fec4635529e (patch) | |
tree | 1918dbee4e64664e5718b69a378167787700fa09 /Source/cmIfCommand.cxx | |
parent | d5296aa85a6fe79da2154e447cf65d9b1dfa28d0 (diff) | |
download | CMake-2cf6730def50ea33360ecdaebb098fec4635529e.zip CMake-2cf6730def50ea33360ecdaebb098fec4635529e.tar.gz CMake-2cf6730def50ea33360ecdaebb098fec4635529e.tar.bz2 |
minor fix to allow if with no arguments
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r-- | Source/cmIfCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 7baba12..cb8134f 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -134,6 +134,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args, bool &isValid, if(args.size() < 1 ) { + isValid = true; return false; } |