HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/share/cmake-3.28/Help/command/UNSET_NOTE.txt
.. note::

  When evaluating :ref:`Variable References` of the form ``${VAR}``, CMake
  first searches for a normal variable with that name.  If no such normal
  variable exists, CMake will then search for a cache entry with that name.
  Because of this, **unsetting a normal variable can expose a cache variable
  that was previously hidden**.  To force a variable reference of the form
  ``${VAR}`` to return an empty string, use ``set(<variable> "")``, which
  clears the normal variable but leaves it defined.