mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Factor out enum MessageType into dedicated header
Reduce the number of files relying on `cmake.h`.
This commit is contained in:
committed by
Brad King
parent
da566d4de8
commit
cc2a5261f8
@@ -8,9 +8,9 @@
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmMessageType.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmake.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
@@ -26,7 +26,7 @@ void cmTargetLinkDirectoriesCommand::HandleMissingTarget(
|
||||
std::ostringstream e;
|
||||
e << "Cannot specify link directories for target \"" << name
|
||||
<< "\" which is not built by this project.";
|
||||
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||
this->Makefile->IssueMessage(MessageType::FATAL_ERROR, e.str());
|
||||
}
|
||||
|
||||
std::string cmTargetLinkDirectoriesCommand::Join(
|
||||
|
||||
Reference in New Issue
Block a user