mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
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:
@@ -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. "
|
||||
|
||||
Reference in New Issue
Block a user