summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-11 14:29:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-11 14:29:56 (GMT)
commitdc9245df6cbe4ed6211387f6090b531ce4414263 (patch)
treeb22a893cd7b52a64a86663c0e164e1d63ec9119f /Source/cmListFileCache.cxx
parent9d4730f4413a216e8172aa4a24705a388d36f076 (diff)
downloadCMake-dc9245df6cbe4ed6211387f6090b531ce4414263.zip
CMake-dc9245df6cbe4ed6211387f6090b531ce4414263.tar.gz
CMake-dc9245df6cbe4ed6211387f6090b531ce4414263.tar.bz2
ENH: add enum to IssueMessage
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 55604a6..594f42b 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -146,7 +146,7 @@ bool cmListFile::ParseFile(const char* filename,
switch (mf->GetPolicyStatus(cmPolicies::CMP_0000))
{
case cmPolicies::WARN:
- mf->IssueWarning(
+ mf->IssueMessage(cmake::AUTHOR_WARNING,
mf->GetPolicies()->GetPolicyWarning(cmPolicies::CMP_0000)
);
@@ -155,7 +155,7 @@ bool cmListFile::ParseFile(const char* filename,
case cmPolicies::OLD:
break;
default:
- mf->IssueError(
+ mf->IssueMessage(cmake::FATAL_ERROR,
mf->GetPolicies()->GetRequiredPolicyError(cmPolicies::CMP_0000)
);
return false;