diff options
author | Brad King <brad.king@kitware.com> | 2008-08-18 20:29:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-08-18 20:29:00 (GMT) |
commit | f50ed1fd8897eae39da6ed9f3af2bc3eab2c35af (patch) | |
tree | 08afc4edd05c42e0e0643a878af458f4c195b735 /Source/cmMakefile.h | |
parent | 061d20be3869d53e0dee4c72b4f9e0202fe6b197 (diff) | |
download | CMake-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.h | 1 |
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; |