FindBZip2
From Get docs
Cmake/docs/3.21/module/findbzip2
FindBZip2
Try to find BZip2
IMPORTED Targets
New in version 3.12.
This module defines IMPORTED target BZip2::BZip2, if BZip2 has been found.
Result Variables
This module defines the following variables:
BZIP2_FOUNDsystem has BZip2
BZIP2_INCLUDE_DIRSNew in version 3.12: the BZip2 include directories
BZIP2_LIBRARIESLink these to use BZip2
BZIP2_NEED_PREFIXthis is set if the functions are prefixed with
BZ2_BZIP2_VERSION_STRINGthe version of BZip2 found
Cache variables
The following cache variables may also be set:
BZIP2_INCLUDE_DIR- the BZip2 include directory
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/module/FindBZip2.html