FindJasper — CMake 3.27.7 Documentation

# FindJasper

Find the Jasper JPEG2000 library.

## IMPORTED Targets

`Jasper::Jasper`

  The jasper library, if found.

## Result Variables

This module defines the following variables:

`JASPER_FOUND`

  system has Jasper

`JASPER_INCLUDE_DIRS`

  New in version 3.22.

  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).