diff options
-rw-r--r-- | Source/cmGetDirectoryPropertyCommand.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGetDirectoryPropertyCommand.cxx b/Source/cmGetDirectoryPropertyCommand.cxx index 81d249b..04c0dbb 100644 --- a/Source/cmGetDirectoryPropertyCommand.cxx +++ b/Source/cmGetDirectoryPropertyCommand.cxx @@ -101,9 +101,8 @@ bool cmGetDirectoryPropertyCommand::InitialPass( m_Makefile->AddDefinition(variable.c_str(), prop); return true; } - std::string emsg = "Unknown directory property: " + args[1]; - this->SetError(emsg.c_str()); - return false; + m_Makefile->AddDefinition(variable.c_str(), ""); + return true; } m_Makefile->AddDefinition(variable.c_str(), output.c_str()); |