summaryrefslogtreecommitdiff
path: root/Source/cmIncludeExternalMSProjectCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmIncludeExternalMSProjectCommand.cxx')
-rw-r--r--Source/cmIncludeExternalMSProjectCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmIncludeExternalMSProjectCommand.cxx b/Source/cmIncludeExternalMSProjectCommand.cxx
index 166bc7c2c1..57bf33e503 100644
--- a/Source/cmIncludeExternalMSProjectCommand.cxx
+++ b/Source/cmIncludeExternalMSProjectCommand.cxx
@@ -70,8 +70,8 @@ bool cmIncludeExternalMSProjectCommand::InitialPass(
}
// Create a target instance for this utility.
- cmTarget* target =
- this->Makefile->AddNewTarget(cmState::UTILITY, utility_name.c_str());
+ cmTarget* target = this->Makefile->AddNewTarget(cmStateEnums::UTILITY,
+ utility_name.c_str());
target->SetProperty("GENERATOR_FILE_NAME", utility_name.c_str());
target->SetProperty("EXTERNAL_MSPROJECT", path.c_str());