FindOpenSP¶
Added in version 3.25.
Try to find the OpenSP library.
Result Variables¶
This will define the following variables:
OpenSP_FOUNDTrue if (the requested version of)
OpenSPis availableOpenSP_VERSIONThe version of
OpenSPOpenSP_VERSION_MAJORThe major version of
OpenSPOpenSP_VERSION_MINORThe minor version of
OpenSPOpenSP_VERSION_PATCHThe patch version of
OpenSPOpenSP_INCLUDE_DIRSThe include dirs of
OpenSPwith its headersOpenSP_LIBRARIESThe OpenSP library for use with target_link_libraries(). This can be passed to target_link_libraries() instead of the
IMPORTEDOpenSP::OpenSPtargetOpenSP_MULTI_BYTETrue if
SP_MULTI_BYTEwas found to be defined in OpenSP'sconfig.hheader file, which indicates that theOpenSPlibrary was compiled with support for multi-byte characters. The consuming target needs to define theSP_MULTI_BYTEto match this value in order to avoid issues with character decoding.
Imported Targets¶
This module defines the IMPORTED target OpenSP::OpenSP, if
OpenSP has been found.
Cache variables¶
The following cache variables may also be set:
OpenSP_INCLUDE_DIRthe OpenSP include directory
OpenSP_LIBRARYthe absolute path of the osp library