summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-03-22 19:24:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-03-22 19:24:49 (GMT)
commit82df2fe17e81fa4efa9717ec9d83d2915d56aa33 (patch)
treec2d28d7e62d15ed1052fc1f4f2c20a7300190bf6 /Source/cmMakefile.h
parent8aec07e0576a6121174a210dd3e3440a9f7105aa (diff)
parent45408b5ea1e3654b5d4f6289ca1a0b5c0f1ac4e9 (diff)
downloadCMake-82df2fe17e81fa4efa9717ec9d83d2915d56aa33.zip
CMake-82df2fe17e81fa4efa9717ec9d83d2915d56aa33.tar.gz
CMake-82df2fe17e81fa4efa9717ec9d83d2915d56aa33.tar.bz2
Merge topic 'policy-version-range'
45408b5ea1 cmake_minimum_required: Optionally set policies with version range 6a41aa2abd cmPolicies: Split parsing and impl of ApplyPolicyVersion 1d00ed7cf7 cmPolicies: Drop unnecessary check from ApplyPolicyVersion 0df559832b cmPolicies: Pass policy version as std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1864
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index aafe60b..419cb6e 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -285,7 +285,8 @@ public:
bool SetPolicy(cmPolicies::PolicyID id, cmPolicies::PolicyStatus status);
bool SetPolicy(const char* id, cmPolicies::PolicyStatus status);
cmPolicies::PolicyStatus GetPolicyStatus(cmPolicies::PolicyID id) const;
- bool SetPolicyVersion(const char* version);
+ bool SetPolicyVersion(std::string const& version_min,
+ std::string const& version_max);
void RecordPolicies(cmPolicies::PolicyMap& pm);
//@}