mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-07 15:22:34 +02:00
Closes #1413 Closes #1414 This commit addresses issues with building PortMixer using the upstream version of PortAudio. The resulting solution allows: * To build Linux with the vanilla PortAudio. * To build Windows with the vanilla PortAudio, but the notable exceptions: * for PortMixer to work on MME - PA 19.7.0 is required; only static linking is supported. A patch is available to allow dynamic linking; * for PortMixer to work on DirectSound - the patch is always required. Remove nyquist autotools
17 lines
420 B
CMake
17 lines
420 B
CMake
cmake_minimum_required( VERSION 3.15 )
|
|
project( CheckPaWinMME_GetStreamInputHandle )
|
|
|
|
set( MODULE_DIR "${CMAKE_BINARY_DIR}/../../.." )
|
|
|
|
set( CMAKE_MODULE_PATH
|
|
${MODULE_DIR}
|
|
${CMAKE_MODULE_PATH}
|
|
)
|
|
|
|
set( PortAudio_DIR ${MODULE_DIR} )
|
|
|
|
find_package( PortAudio REQUIRED )
|
|
|
|
add_executable( CheckPaWinMME_GetStreamInputHandle check.c )
|
|
target_link_libraries( CheckPaWinMME_GetStreamInputHandle PortAudio::PortAudio )
|