ENH: Clarify cmake_policy(VERSION) documentation

The previous documentation could be interpreted as setting policies
newer than the given version to OLD instead of unset.  This clarifies
it.
This commit is contained in:
Brad King 2009-02-06 08:15:05 -05:00
parent 8dfb99c660
commit 0499ca66aa
1 changed files with 1 additions and 2 deletions

View File

@ -90,8 +90,7 @@ public:
"given version of CMake. "
"All policies introduced in the specified version or earlier "
"will be set to use NEW behavior. "
"All policies introduced after the specified version will be reset "
"to use OLD behavior with a warning. "
"All policies introduced after the specified version will be unset. "
"This effectively requests behavior preferred as of a given CMake "
"version and tells newer CMake versions to warn about their new "
"policies. "