From 497173f66541842aa4719d67d49e0b8326454edb Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Fri, 27 Jan 2017 01:32:23 -0800 Subject: [PATCH] CMake: Disable PortAudio support for ASIO, DS, and WDMKS Fixes a link-time error, and matches what the vcxproj does. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ac82623d4..628f877e98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -568,6 +568,9 @@ if(NOT ANDROID) set(PORTAUDIO_LIBRARIES portaudio) else() message(STATUS "Using static PortAudio from Externals for mic support") + option(PA_USE_ASIO "Enable PortAudio support for ASIO" OFF) + option(PA_USE_DS "Enable PortAudio support for DirectSound" OFF) + option(PA_USE_WDMKS "Enable PortAudio support for WDMKS" OFF) add_subdirectory(Externals/portaudio) set(PORTAUDIO_LIBRARIES portaudio_static) endif()