diff options
author | Brad King <brad.king@kitware.com> | 2018-07-09 14:25:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-07-09 14:25:33 (GMT) |
commit | c878e6f8cc89ae5864d3446bf237bf53f1ee6563 (patch) | |
tree | 24f50ccd26862762b4501b271f7545a70f0dbe0c /Help/command | |
parent | 1b5b1dc5cc5d1fd92fafcece3b4ae8ad51fd5817 (diff) | |
parent | 2a5f5c0e316d415e1b8207348b34761d34f191ae (diff) | |
download | CMake-c878e6f8cc89ae5864d3446bf237bf53f1ee6563.zip CMake-c878e6f8cc89ae5864d3446bf237bf53f1ee6563.tar.gz CMake-c878e6f8cc89ae5864d3446bf237bf53f1ee6563.tar.bz2 |
Merge topic 'option-normal-variable'
2a5f5c0e31 option: respect existing normal variable
12e6f83319 Option: Add a test that verifies interaction with normal variables
5bb3d40a28 cmOption: Remove VTK 4.0 workarounds
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2155
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/option.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/option.rst b/Help/command/option.rst index 91cd0a7..4fabb87 100644 --- a/Help/command/option.rst +++ b/Help/command/option.rst @@ -9,7 +9,9 @@ Provides an option that the user can optionally select. [initial value]) Provide an option for the user to select as ``ON`` or ``OFF``. If no -initial value is provided, ``OFF`` is used. +initial value is provided, ``OFF`` is used. If the option is already +set as a normal variable then the command does nothing +(see policy :policy:`CMP0077`). If you have options that depend on the values of other options, see the module help for :module:`CMakeDependentOption`. |