2023-06-14 19:23:53 +00:00
|
|
|
# ###################################### RtAudio
|
|
|
|
if(LASP_HAS_PORTAUDIO)
|
|
|
|
message("Building with Portaudio backend")
|
|
|
|
if(WIN32)
|
|
|
|
else()
|
|
|
|
set(PA_USE_ALSA TRUE CACHE BOOL "Build PortAudio with ALSA backend")
|
2024-02-06 13:59:51 +00:00
|
|
|
set(PA_USE_JACK FALSE CACHE BOOL "Build PortAudio with Jack backend")
|
|
|
|
set(PA_USE_PULSEAUDIO FALSE CACHE BOOL "Build PortAudio with PulseAudio backend")
|
2023-06-14 19:23:53 +00:00
|
|
|
# set(PA_ALSA_DYNAMIC FALSE CACHE BOOL "Build static library of ALSA")
|
|
|
|
set(PA_BUILD_SHARED_LIBS FALSE CACHE BOOL "Build static library")
|
|
|
|
endif()
|
|
|
|
add_subdirectory(third_party/portaudio)
|
|
|
|
include_directories(third_party/portaudio/include)
|
|
|
|
link_directories(third_party/portaudio)
|
|
|
|
endif()
|