summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-18 20:29:00 (GMT)
committerBrad King <brad.king@kitware.com>2008-08-18 20:29:00 (GMT)
commitf50ed1fd8897eae39da6ed9f3af2bc3eab2c35af (patch)
tree08afc4edd05c42e0e0643a878af458f4c195b735 /Source/cmMakefile.h
parent061d20be3869d53e0dee4c72b4f9e0202fe6b197 (diff)
downloadCMake-f50ed1fd8897eae39da6ed9f3af2bc3eab2c35af.zip
CMake-f50ed1fd8897eae39da6ed9f3af2bc3eab2c35af.tar.gz
CMake-f50ed1fd8897eae39da6ed9f3af2bc3eab2c35af.tar.bz2
ENH: Improve errors when a policy is REQUIRED
In the future some policies may be set to REQUIRED_IF_USED or REQUIRED_ALWAYS. This change clarifies the error messages users receive when violating the requirements.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 780b2fe..f9d10b6 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -900,6 +900,7 @@ private:
typedef std::map<cmPolicies::PolicyID,
cmPolicies::PolicyStatus> PolicyMap;
std::vector<PolicyMap> PolicyStack;
+ cmPolicies::PolicyStatus GetPolicyStatusInternal(cmPolicies::PolicyID id);
bool CheckCMP0000;