From cd888f1133d0c393816e0e740457e2de24de5c2a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 31 Oct 2019 11:02:20 -0400 Subject: Help: drop confusing reference to `if()` from `$` `if()` uses the internal `IsOn` call whild `$` uses `IsOff`. For historical reasons, these are not inverses of each other, so drop mention of `if()` from the documentation of `$`. --- Help/manual/cmake-generator-expressions.7.rst | 4 ++-- 1 file 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 ----------------- ``$`` - 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 -- cgit v0.12