Commit ab7d5158 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: get directory property should return an empty variable if it is not set,...

ENH: get directory property should return an empty variable if it is not set, not just have an error
parent 0e62c76f
......@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment