FindALSA

From Get docs
Cmake/docs/3.21/module/findalsa


FindALSA

Find Advanced Linux Sound Architecture (ALSA)

Find the alsa libraries (asound)

IMPORTED Targets

New 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

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/module/FindALSA.html