diff --git a/Source/cmGetDirectoryPropertyCommand.cxx b/Source/cmGetDirectoryPropertyCommand.cxx index 0f0fcca13..dd6affdfe 100644 --- a/Source/cmGetDirectoryPropertyCommand.cxx +++ b/Source/cmGetDirectoryPropertyCommand.cxx @@ -86,6 +86,7 @@ bool cmGetDirectoryPropertyCommand::InitialPass( } output = dir->GetSafeDefinition(i->c_str()); this->Makefile->AddDefinition(variable.c_str(), output.c_str()); + return true; } const char *prop = dir->GetProperty(i->c_str());