diff options
Diffstat (limited to 'Source/cmSetSourceFilesPropertiesCommand.cxx')
-rw-r--r-- | Source/cmSetSourceFilesPropertiesCommand.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmSetSourceFilesPropertiesCommand.cxx b/Source/cmSetSourceFilesPropertiesCommand.cxx index 3933321..2164e35 100644 --- a/Source/cmSetSourceFilesPropertiesCommand.cxx +++ b/Source/cmSetSourceFilesPropertiesCommand.cxx @@ -64,6 +64,19 @@ bool cmSetSourceFilesPropertiesCommand::InitialPass( } propertyPairs.push_back(*j); } + else if(*j == "OBJECT_DEPENDS") + { + doingFiles = false; + propertyPairs.push_back("OBJECT_DEPENDS"); + ++j; + if(j == args.end()) + { + this->SetError("called with incorrect number of arguments " + "OBJECT_DEPENDS with no dependencies"); + return false; + } + propertyPairs.push_back(*j); + } else if(*j == "PROPERTIES") { doingFiles = false; |