diff options
author | Brad King <brad.king@kitware.com> | 2018-03-16 15:56:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-16 16:06:04 (GMT) |
commit | 0df559832bdc629df333b57c798d42e77716a94b (patch) | |
tree | f366843e9dd59e516b3e6bfb2a1761d594c5b945 /Source/cmPolicies.h | |
parent | b3e668ea25d35a04adc41e17cfb4c8ab7a97a7d9 (diff) | |
download | CMake-0df559832bdc629df333b57c798d42e77716a94b.zip CMake-0df559832bdc629df333b57c798d42e77716a94b.tar.gz CMake-0df559832bdc629df333b57c798d42e77716a94b.tar.bz2 |
cmPolicies: Pass policy version as std::string
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index a784f98..2198184 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -288,7 +288,8 @@ public: static cmPolicies::PolicyStatus GetPolicyStatus(cmPolicies::PolicyID id); ///! Set a policy level for this listfile - static bool ApplyPolicyVersion(cmMakefile* mf, const char* version); + static bool ApplyPolicyVersion(cmMakefile* mf, + std::string const& version_min); ///! return a warning string for a given policy static std::string GetPolicyWarning(cmPolicies::PolicyID id); |