FindALSA — CMake 4.0.1-dirty Documentation

# FindALSA

Find Advanced Linux Sound Architecture (ALSA)

Find the alsa libraries (`asound`)

## Imported Targets

Added in version 3.12.

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