mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache
Fixes: #18331
This commit is contained in:
@@ -23,6 +23,8 @@ warn by default:
|
||||
policy :policy:`CMP0082`.
|
||||
* ``CMAKE_POLICY_WARNING_CMP0089`` controls the warning for
|
||||
policy :policy:`CMP0089`.
|
||||
* ``CMAKE_POLICY_WARNING_CMP0102`` controls the warning for
|
||||
policy :policy:`CMP0102`.
|
||||
|
||||
This variable should not be set by a project in CMake code. Project
|
||||
developers running CMake may set this variable in their cache to
|
||||
|
||||
Reference in New Issue
Block a user