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:
parent
8dfb99c660
commit
0499ca66aa
|
@ -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. "
|
||||
|
|
Loading…
Reference in New Issue