summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.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/cmLocalGenerator.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/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 93e074d..7af3da5 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -7,6 +7,7 @@
#include "cmCustomCommand.h"
#include "cmCustomCommandGenerator.h"
#include "cmCustomCommandLines.h"
+#include "cmCustomCommandTypes.h"
#include "cmGeneratedFileStream.h"
#include "cmGeneratorExpression.h"
#include "cmGeneratorExpressionEvaluationFile.h"
@@ -2356,7 +2357,7 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target,
if (this->GetGlobalGenerator()->IsMultiConfig()) {
this->Makefile->AddCustomCommandToTarget(
target->GetName(), outputs, no_deps, commandLines,
- cmTarget::PRE_BUILD, no_message, no_current_dir);
+ cmCustomCommandType::PRE_BUILD, no_message, no_current_dir);
} else {
cmImplicitDependsList no_implicit_depends;
cmSourceFile* copy_rule = this->Makefile->AddCustomCommandToOutput(