diff options
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r-- | Source/cmIfCommand.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 903746a..e25502e 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -110,6 +110,14 @@ bool cmIfCommand::InitialPass(std::vector<std::string> const& args) } } + if (args.size() == 2 && (args[0] == "COMMAND")) + { + if(!m_Makefile->CommandExists(args[1].c_str())) + { + f = new cmIfFunctionBlocker(); + } + } + if (args.size() == 3 && (args[1] == "AND")) { def = m_Makefile->GetDefinition(args[0].c_str()); |