From 7f8413c3093220cd26e6196e473cdff00754f7e8 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Wed, 6 Oct 2021 09:39:02 +0900 Subject: FindJasper: Modernize documentation layout --- Modules/FindJasper.cmake | 31 ++++++++++++++++++++++++------- 1 file 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) -- cgit v0.12