mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
FindHSPELL: Update documentation
- Synced module description with other similar find modules. - Added examples section - HSPELL_DEFINITIONS variable removed from the documentation as it was never defined by this module.
This commit is contained in:
+27
-11
@@ -5,24 +5,40 @@
|
|||||||
FindHSPELL
|
FindHSPELL
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Try to find Hebrew spell-checker (Hspell) and morphology engine.
|
Finds Hebrew spell-checker (Hspell) and morphology engine.
|
||||||
|
|
||||||
Once done this will define
|
Result Variables
|
||||||
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
::
|
This module defines the following variables:
|
||||||
|
|
||||||
HSPELL_FOUND - system has Hspell
|
``HSPELL_FOUND``
|
||||||
HSPELL_INCLUDE_DIR - the Hspell include directory
|
Boolean indicating whether the Hspell is found.
|
||||||
HSPELL_LIBRARIES - The libraries needed to use Hspell
|
``HSPELL_VERSION_STRING``
|
||||||
HSPELL_DEFINITIONS - Compiler switches required for using Hspell
|
The version of Hspell found (x.y).
|
||||||
|
``HSPELL_MAJOR_VERSION``
|
||||||
|
The major version of Hspell.
|
||||||
|
``HSPELL_MINOR_VERSION``
|
||||||
|
The minor version of Hspell.
|
||||||
|
|
||||||
|
Cache Variables
|
||||||
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
The following cache variables may also be set:
|
||||||
|
|
||||||
::
|
``HSPELL_INCLUDE_DIR``
|
||||||
|
The Hspell include directory.
|
||||||
|
``HSPELL_LIBRARIES``
|
||||||
|
The libraries needed to use Hspell.
|
||||||
|
|
||||||
HSPELL_VERSION_STRING - The version of Hspell found (x.y)
|
Examples
|
||||||
HSPELL_MAJOR_VERSION - the major version of Hspell
|
^^^^^^^^
|
||||||
HSPELL_MINOR_VERSION - The minor version of Hspell
|
|
||||||
|
Finding Hspell:
|
||||||
|
|
||||||
|
.. code-block:: cmake
|
||||||
|
|
||||||
|
find_package(HSPELL)
|
||||||
#]=======================================================================]
|
#]=======================================================================]
|
||||||
|
|
||||||
cmake_policy(PUSH)
|
cmake_policy(PUSH)
|
||||||
|
|||||||
Reference in New Issue
Block a user