Find*: Add missing <PackageName>_FOUND variables

* FindKDE4: Added note about KDE4_FOUND result variable (it is set by
  the upstream FindKDE4Internal module, and now also synced in the docs
  and code for consistency).

For the sake of completeness with other find modules, also the following
deprecated find modules are synced as they already provided these
variables:

* FindDart: Documented the Dart_FOUND result variable.
* FindUnixCommands: Updated documentation (documented UnixCommands_FOUND
  result variable, and listed cache variables used by this module).

Issue: #27242
This commit is contained in:
Peter Kokot
2025-10-12 00:34:03 +02:00
committed by Brad King
parent da592d67b1
commit c8ea0ba3be
11 changed files with 163 additions and 7 deletions

View File

@@ -18,6 +18,16 @@ Help Workshop:
For modern documentation, consider alternatives such as Microsoft Help Viewer
for producing ``.mshc`` files or web-based documentation tools.
Result Variables
^^^^^^^^^^^^^^^^
This module defines the following variables:
``HTMLHelp_FOUND``
.. versionadded:: 4.2
Boolean indicating whether HTML Help was found.
Cache Variables
^^^^^^^^^^^^^^^
@@ -78,3 +88,9 @@ if(WIN32)
)
endif()
if(HTML_HELP_COMPILER AND HTML_HELP_INCLUDE_PATH AND HTML_HELP_LIBRARY)
set(HTMLHelp_FOUND TRUE)
else()
set(HTMLHelp_FOUND FALSE)
endif()