diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-10-31 15:02:20 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2019-10-31 15:49:43 (GMT) |
commit | cd888f1133d0c393816e0e740457e2de24de5c2a (patch) | |
tree | a44b403b1f81129b314a4d9f4d0613294b2e9a50 /Help/manual/cmake-generator-expressions.7.rst | |
parent | c1d5d5eb11e0260ffadda0851ac844ab46b6b179 (diff) | |
download | CMake-cd888f1133d0c393816e0e740457e2de24de5c2a.zip CMake-cd888f1133d0c393816e0e740457e2de24de5c2a.tar.gz CMake-cd888f1133d0c393816e0e740457e2de24de5c2a.tar.bz2 |
Help: drop confusing reference to `if()` from `$<BOOL:>`
`if()` uses the internal `IsOn` call whild `$<BOOL:>` uses `IsOff`. For
historical reasons, these are not inverses of each other, so drop
mention of `if()` from the documentation of `$<BOOL:>`.
Diffstat (limited to 'Help/manual/cmake-generator-expressions.7.rst')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index ba9887c..75f4bd4 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -47,8 +47,8 @@ Logical Operators ----------------- ``$<BOOL:string>`` - Converts ``string`` to ``0`` or ``1`` according to the rules of the - :command:`if()` command. Evaluates to ``0`` if any of the following is true: + Converts ``string`` to ``0`` or ``1``. Evaluates to ``0`` if any of the + following is true: * ``string`` is empty, * ``string`` is a case-insensitive equal of |