thestk / rtaudio

A set of C++ classes that provide a common API for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X (CoreAudio and JACK), and Windows (DirectSound, ASIO, and WASAPI) operating systems.
Other
1.49k stars 318 forks source link

Fix library path variable for cmake FindALSA #350

Closed stephanwidor-holoplot closed 2 years ago

stephanwidor-holoplot commented 2 years ago

We had failing linkage to alsa. Adding ALSA_LIBRARIES to LINKLIBS instead of ALSA_LIBRARY fixed it. Also fits to what is stated here https://cmake.org/cmake/help/v3.23/module/FindALSA.html