Find the Joint Photographic Experts Group (JPEG) library (libjpeg)
Added in version 3.12.
This module defines the following IMPORTED targets:
JPEG::JPEG The JPEG library, if found.
This module will set the following variables in your project:
JPEG_FOUND If false, do not try to use JPEG.
JPEG_INCLUDE_DIRS where to find jpeglib.h, etc.
JPEG_LIBRARIES the libraries needed to use JPEG.
JPEG_VERSION Added in version 3.12: the version of the JPEG library found
The following cache variables may also be set:
JPEG_INCLUDE_DIR where to find jpeglib.h, etc.
JPEG_LIBRARY_RELEASE where to find the JPEG library (optimized).
JPEG_LIBRARY_DEBUG where to find the JPEG library (debug).
Added in version 3.12: Debug and Release variand are found separately.
JPEG_LIBRARY where to find the JPEG library.
© 2000–2024 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.31/module/FindJPEG.html