From cc2a5261f82c21e15899bba0d9b508fcacda7879 Mon Sep 17 00:00:00 2001 From: Bruno Manganelli Date: Thu, 22 Nov 2018 03:36:50 +0000 Subject: Factor out enum MessageType into dedicated header Reduce the number of files relying on `cmake.h`. --- Source/cmVariableWatchCommand.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/cmVariableWatchCommand.cxx') diff --git a/Source/cmVariableWatchCommand.cxx b/Source/cmVariableWatchCommand.cxx index e080df1ec3..03e00594c6 100644 --- a/Source/cmVariableWatchCommand.cxx +++ b/Source/cmVariableWatchCommand.cxx @@ -7,6 +7,7 @@ #include "cmExecutionStatus.h" #include "cmListFileCache.h" #include "cmMakefile.h" +#include "cmMessageType.h" #include "cmSystemTools.h" #include "cmVariableWatch.h" #include "cmake.h" @@ -70,7 +71,7 @@ static void cmVariableWatchCommandVariableAccessed(const std::string& variable, msg << "Variable \"" << variable << "\" was accessed using " << accessString << " with value \"" << (newValue ? newValue : "") << "\"."; - makefile->IssueMessage(cmake::LOG, msg.str()); + makefile->IssueMessage(MessageType::LOG, msg.str()); } data->InCallback = false; -- cgit v1.2.1