summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenGlobalInitializer.cxx
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-09-20 20:44:14 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-26 14:02:06 (GMT)
commitf151a5770597dbe341fc6329a711f40e9195c773 (patch)
treeca2f50db700d240033ffcf7dbbb8e73d596ddeca /Source/cmQtAutoGenGlobalInitializer.cxx
parent28a2613dd291c641f17940e3f996bd4cc9b9888d (diff)
downloadCMake-f151a5770597dbe341fc6329a711f40e9195c773.zip
CMake-f151a5770597dbe341fc6329a711f40e9195c773.tar.gz
CMake-f151a5770597dbe341fc6329a711f40e9195c773.tar.bz2
cmMakefile: Move enumerations into new header
The enumerations will also be used in cmLocalGenerator.
Diffstat (limited to 'Source/cmQtAutoGenGlobalInitializer.cxx')
-rw-r--r--Source/cmQtAutoGenGlobalInitializer.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenGlobalInitializer.cxx b/Source/cmQtAutoGenGlobalInitializer.cxx
index 576a034..751ad50 100644
--- a/Source/cmQtAutoGenGlobalInitializer.cxx
+++ b/Source/cmQtAutoGenGlobalInitializer.cxx
@@ -3,6 +3,7 @@
#include "cmQtAutoGenGlobalInitializer.h"
#include "cmCustomCommandLines.h"
+#include "cmCustomCommandTypes.h"
#include "cmDuration.h"
#include "cmGeneratorTarget.h"
#include "cmLocalGenerator.h"
@@ -154,7 +155,7 @@ void cmQtAutoGenGlobalInitializer::GetOrCreateGlobalTarget(
// Create utility target
cmTarget* target = makefile->AddUtilityCommand(
- name, cmMakefile::TargetOrigin::Generator, true,
+ name, cmCommandOrigin::Generator, true,
makefile->GetHomeOutputDirectory().c_str() /*work dir*/,
std::vector<std::string>() /*output*/,
std::vector<std::string>() /*depends*/, cmCustomCommandLines(), false,