diff options
author | Brad King <brad.king@kitware.com> | 2008-03-05 23:21:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-05 23:21:10 (GMT) |
commit | 49549560b2ecdb4cf1c3aa155c3dccd4688a8de7 (patch) | |
tree | 333c732f9058d19ab6389b558f418ad16a592592 /Source/cmMakefile.h | |
parent | 7c01167666077453b01846f47227e27be165b659 (diff) | |
download | CMake-49549560b2ecdb4cf1c3aa155c3dccd4688a8de7.zip CMake-49549560b2ecdb4cf1c3aa155c3dccd4688a8de7.tar.gz CMake-49549560b2ecdb4cf1c3aa155c3dccd4688a8de7.tar.bz2 |
ENH: Improve cmake_policy command signature
- Replace NEW and OLD modes with a SET mode for clarity
- Enforce VERSION argument validity (major.minor[.patch])
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 819de0d..db13452 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -332,7 +332,7 @@ public: bool SetPolicy(const char *id, cmPolicies::PolicyStatus status); cmPolicies::PolicyStatus GetPolicyStatus(cmPolicies::PolicyID id); bool PushPolicy(); - bool PopPolicy(); + bool PopPolicy(bool reportError = true); bool SetPolicyVersion(const char *version); //@} |