FindOpenSP¶
New in version 3.25.
Try to find the OpenSP library.
Result Variables¶
This will define the following variables:
OpenSP_FOUND- True if (the requested version of)
OpenSPis available OpenSP_VERSION- The version of
OpenSP OpenSP_VERSION_MAJOR- The major version of
OpenSP OpenSP_VERSION_MINOR- The minor version of
OpenSP OpenSP_VERSION_PATCH- The patch version of
OpenSP OpenSP_INCLUDE_DIRS- The include dirs of
OpenSPwith its headers OpenSP_LIBRARIES- The OpenSP library for use with target_link_libraries().
This can be passed to target_link_libraries() instead of
the
IMPORTEDOpenSP::OpenSPtarget OpenSP_MULTI_BYTE- True 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.
Cache variables¶
The following cache variables may also be set:
OpenSP_INCLUDE_DIR- the OpenSP include directory
OpenSP_LIBRARY- the absolute path of the osp library