summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-generator-expressions.7.rst
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-10-31 15:02:20 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2019-10-31 15:49:43 (GMT)
commitcd888f1133d0c393816e0e740457e2de24de5c2a (patch)
treea44b403b1f81129b314a4d9f4d0613294b2e9a50 /Help/manual/cmake-generator-expressions.7.rst
parentc1d5d5eb11e0260ffadda0851ac844ab46b6b179 (diff)
downloadCMake-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.rst4
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