mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 07:11:05 -06:00
Help: Clarify CMP0126 OLD behavior for FORCE and INTERNAL
Fixes: #23022
This commit is contained in:
@@ -14,6 +14,9 @@ current scope in the following situations:
|
||||
This can occur when the variable was set on the command line using a form
|
||||
like ``cmake -DMYVAR=blah`` instead of ``cmake -DMYVAR:STRING=blah``.
|
||||
|
||||
* The ``FORCE`` or ``INTERNAL`` keywords were used when setting the cache
|
||||
variable.
|
||||
|
||||
Note that the ``NEW`` behavior has an important difference to the similar
|
||||
``NEW`` behavior of policy :policy:`CMP0077`. The :command:`set(CACHE)`
|
||||
command always sets the cache variable if it did not exist previously,
|
||||
|
||||
Reference in New Issue
Block a user