summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorHiroshi Miura <miurahr@linux.com>2021-10-06 00:39:02 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-06 15:20:38 (GMT)
commit7f8413c3093220cd26e6196e473cdff00754f7e8 (patch)
tree430621aadabb0177ec8651740b4caa7f716696f3 /Modules
parent524205a7a520abc77283103c01e0098d2d008a8f (diff)
downloadCMake-7f8413c3093220cd26e6196e473cdff00754f7e8.zip
CMake-7f8413c3093220cd26e6196e473cdff00754f7e8.tar.gz
CMake-7f8413c3093220cd26e6196e473cdff00754f7e8.tar.bz2
FindJasper: Modernize documentation layout
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJasper.cmake31
1 files changed, 24 insertions, 7 deletions
diff --git a/Modules/FindJasper.cmake b/Modules/FindJasper.cmake
index 9bb4dd8..5eb96e4 100644
--- a/Modules/FindJasper.cmake
+++ b/Modules/FindJasper.cmake
@@ -5,16 +5,33 @@
FindJasper
----------
-Try to find the Jasper JPEG2000 library
+Find the Jasper JPEG2000 library.
-Once done this will define
+Result Variables
+^^^^^^^^^^^^^^^^
-::
+This module defines the following variables:
- JASPER_FOUND - system has Jasper
- JASPER_INCLUDE_DIR - the Jasper include directory
- JASPER_LIBRARIES - the libraries needed to use Jasper
- JASPER_VERSION_STRING - the version of Jasper found (since CMake 2.8.8)
+``JASPER_FOUND``
+ system has Jasper
+``JASPER_INCLUDE_DIR``
+ the Jasper include directory
+``JASPER_LIBRARIES``
+ the libraries needed to use Jasper
+``JASPER_VERSION_STRING``
+ the version of Jasper found
+
+Cache variables
+^^^^^^^^^^^^^^^
+
+The following cache variables may also be set:
+
+``JASPER_INCLUDE_DIR``
+ where to find jasper/jasper.h, etc.
+``JASPER_LIBRARY_RELEASE``
+ where to find the Jasper library (optimized).
+``JASPER_LIBARRY_DEBUG``
+ where to find the Jasper library (debug).
#]=======================================================================]
find_path(JASPER_INCLUDE_DIR jasper/jasper.h)