mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 17:49:48 -06:00
Externals: remove PortAudio
This commit is contained in:
@ -491,32 +491,6 @@ if(ENCODE_FRAMEDUMPS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT ANDROID)
|
||||
set(PORTAUDIO_FOUND TRUE)
|
||||
add_definitions(-DHAVE_PORTAUDIO=1)
|
||||
|
||||
if(NOT APPLE)
|
||||
set(CMAKE_REQUIRED_LIBRARIES portaudio)
|
||||
CHECK_CXX_SOURCE_RUNS(
|
||||
"#include <portaudio.h>
|
||||
int main(int argc, char **argv)
|
||||
{ if(Pa_GetVersion() >= 1890) return 0; else return 1; }"
|
||||
SYSTEM_PORTAUDIO)
|
||||
unset(CMAKE_REQUIRED_LIBRARIES)
|
||||
endif()
|
||||
if(SYSTEM_PORTAUDIO AND NOT APPLE)
|
||||
message(STATUS "Using shared PortAudio for mic support")
|
||||
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 EXCLUDE_FROM_ALL)
|
||||
set(PORTAUDIO_LIBRARIES portaudio_static)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(OPROFILING)
|
||||
find_package(OProfile)
|
||||
if(OPROFILE_FOUND)
|
||||
|
Reference in New Issue
Block a user