diff --git a/Help/command/if.rst b/Help/command/if.rst index 7123c9a727..49c356edd7 100644 --- a/Help/command/if.rst +++ b/Help/command/if.rst @@ -66,7 +66,9 @@ Possible expressions are: True if the given name is an existing policy (of the form ``CMP``). ``if(TARGET target-name)`` - True if the given name is an existing target, built or imported. + True if the given name is an existing logical target name such as those + created by the :command:`add_executable`, :command:`add_library`, or + :command:`add_custom_target` commands. ``if(EXISTS path-to-file-or-directory)`` True if the named file or directory exists. Behavior is well-defined