diff options
Diffstat (limited to 'Source/cmSetDirectoryPropertiesCommand.cxx')
-rw-r--r-- | Source/cmSetDirectoryPropertiesCommand.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/cmSetDirectoryPropertiesCommand.cxx b/Source/cmSetDirectoryPropertiesCommand.cxx index 4256e62..1c3049c 100644 --- a/Source/cmSetDirectoryPropertiesCommand.cxx +++ b/Source/cmSetDirectoryPropertiesCommand.cxx @@ -68,9 +68,15 @@ bool cmSetDirectoryPropertiesCommand::InitialPass( } else { - std::string emsg = "Unknown directory property: " + args[1]; - this->SetError(emsg.c_str()); - return false; + if ( prop == "ADDITIONAL_MAKE_CLEAN_FILES" ) + { + // This property is not inherrited + if ( strcmp(m_Makefile->GetCurrentDirectory(), m_Makefile->GetStartDirectory()) != 0 ) + { + continue; + } + } + m_Makefile->SetProperty(prop.c_str(), value.c_str()); } } |