FindOpenSP¶
Added 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 - IMPORTED- OpenSP::OpenSPtarget
- OpenSP_MULTI_BYTE
- True if - SP_MULTI_BYTEwas found to be defined in OpenSP's- config.hheader file, which indicates that the- OpenSPlibrary was compiled with support for multi-byte characters. The consuming target needs to define the- SP_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_DIR
- the OpenSP include directory 
- OpenSP_LIBRARY
- the absolute path of the osp library 
