Added in version 3.25.
Try to find the OpenSP library.
This will define the following variables:
OpenSP_FOUNDTrue if (the requested version of) OpenSP is available
OpenSP_VERSIONThe version of OpenSP
OpenSP_VERSION_MAJORThe major version of OpenSP
OpenSP_VERSION_MINORThe minor version of OpenSP
OpenSP_VERSION_PATCHThe patch version of OpenSP
OpenSP_INCLUDE_DIRSThe include dirs of OpenSP with its headers
OpenSP_LIBRARIESThe OpenSP library for use with target_link_libraries().
This can be passed to target_link_libraries() instead of
the IMPORTED OpenSP::OpenSP target
OpenSP_MULTI_BYTETrue if SP_MULTI_BYTE was found to be defined in OpenSP's config.h
header file, which indicates that the OpenSP library was compiled with
support for multi-byte characters. The consuming target needs to define the
SP_MULTI_BYTE to match this value in order to avoid issues with character
decoding.
This module defines the IMPORTED target OpenSP::OpenSP, if
OpenSP has been found.
The following cache variables may also be set:
OpenSP_INCLUDE_DIRthe OpenSP include directory
OpenSP_LIBRARYthe absolute path of the osp library