FindALSA — CMake 3.19.6 Documentation

# FindALSA

Find Advanced Linux Sound Architecture (ALSA)

Find the alsa libraries (`asound`)

## IMPORTED Targets

This module defines `IMPORTED` target `ALSA::ALSA`, if ALSA has been found.

## Result Variables

This module defines the following variables:

`ALSA_FOUND`

  True if ALSA_INCLUDE_DIR & ALSA_LIBRARY are found

`ALSA_LIBRARIES`

  List of libraries when using ALSA.

`ALSA_INCLUDE_DIRS`

  Where to find the ALSA headers.

## Cache variables

The following cache variables may also be set:

`ALSA_INCLUDE_DIR`

  the ALSA include directory

`ALSA_LIBRARY`

  the absolute path of the asound library