1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 15:22:34 +02:00
Dmitry Vedenko e6fb573001 PortAudio devendored
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
2021-08-12 16:15:29 +03:00

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 )