FindSasl2 — Extra CMake Modules 6.28.0 documentation

# FindSasl2

Try to find the SASL2 library.

This will define the following variables:

`Sasl2_FOUND`

  System has SASL2.

`Sasl2_VERSION`

  The version of SASL2.

`Sasl2_INCLUDE_DIRS`

  This should be passed to target_include_directories() if the target is not used for linking.

`Sasl2_LIBRARIES`

  The SASL2 library. This can be passed to target_link_libraries() instead of the `Sasl2::Sasl2` target

If `Sasl2_FOUND` is TRUE, the following imported target will be available:

`Sasl2::Sasl2`

  The SASL2 library

Since 5.41.0.