From 36a6d9101179827744cfe23bcf5381e8e71a16cd Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Thu, 7 May 2020 18:27:51 -0700 Subject: Help: If a cache variable exists, option() also does nothing The previous text sounded as if option() does some work when a cache variable exists. --- Help/command/option.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Help/command/option.rst b/Help/command/option.rst index 8956307..02b8dac 100644 --- a/Help/command/option.rst +++ b/Help/command/option.rst @@ -9,7 +9,7 @@ Provide an option that the user can optionally select. Provides an option for the user to select as ``ON`` or ``OFF``. If no initial ```` is provided, ``OFF`` is used. -If ```` is already set as a normal variable +If ```` is already set as a normal or cache variable, then the command does nothing (see policy :policy:`CMP0077`). If you have options that depend on the values of other options, see -- cgit v0.12