diff --git a/Source/cmIncludeExternalMSProjectCommand.cxx b/Source/cmIncludeExternalMSProjectCommand.cxx index a4de3c0d1..8ed49b1e7 100644 --- a/Source/cmIncludeExternalMSProjectCommand.cxx +++ b/Source/cmIncludeExternalMSProjectCommand.cxx @@ -37,7 +37,8 @@ bool cmIncludeExternalMSProjectCommand cmTarget* target=this->Makefile->AddNewTarget(cmTarget::UTILITY, args[0].c_str()); target->SetProperty("EXTERNAL_MSPROJECT", path.c_str()); - target->SetProperty("EXCLUDE_FROM_ALL","FALSE"); + target->SetProperty("EXCLUDE_FROM_ALL","FALSE"); + target->SetProperty("GENERATOR_FILE_NAME", args[0].c_str()); for (unsigned int i=2; iAddUtility(args[i].c_str());