summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-13 15:38:46 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-13 15:38:46 (GMT)
commit73df9a5cd4f6ac66ea71c073ce3e01d68c512074 (patch)
tree570c225bc40497907cbb26c476c3944848903565 /Source/cmListFileCache.cxx
parent0deb9012a671760abce575d983dfa9cb49b2205f (diff)
downloadCMake-73df9a5cd4f6ac66ea71c073ce3e01d68c512074.zip
CMake-73df9a5cd4f6ac66ea71c073ce3e01d68c512074.tar.gz
CMake-73df9a5cd4f6ac66ea71c073ce3e01d68c512074.tar.bz2
ENH: change CMP_ to CMP
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 594f42b..2849c3d 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -143,11 +143,11 @@ bool cmListFile::ParseFile(const char* filename,
// if no policy command is found this is an error
if(!hasPolicy)
{
- switch (mf->GetPolicyStatus(cmPolicies::CMP_0000))
+ switch (mf->GetPolicyStatus(cmPolicies::CMP0000))
{
case cmPolicies::WARN:
mf->IssueMessage(cmake::AUTHOR_WARNING,
- mf->GetPolicies()->GetPolicyWarning(cmPolicies::CMP_0000)
+ mf->GetPolicies()->GetPolicyWarning(cmPolicies::CMP0000)
);
// Implicitly set the version for the user.
@@ -156,7 +156,7 @@ bool cmListFile::ParseFile(const char* filename,
break;
default:
mf->IssueMessage(cmake::FATAL_ERROR,
- mf->GetPolicies()->GetRequiredPolicyError(cmPolicies::CMP_0000)
+ mf->GetPolicies()->GetRequiredPolicyError(cmPolicies::CMP0000)
);
return false;
}