diff --git a/CMakeLists.txt b/CMakeLists.txt index 9224e0b..3b14d96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(samplebrain VERSION 1.0 LANGUAGES CXX) +project(samplebrain VERSION 1.0 LANGUAGES C CXX) include(Dependencies.cmake) diff --git a/Dependencies.cmake b/Dependencies.cmake index 909eac1..1fd857b 100644 --- a/Dependencies.cmake +++ b/Dependencies.cmake @@ -27,3 +27,13 @@ FetchContent_Declare( FetchContent_MakeAvailable(liblo) add_subdirectory(${liblo_SOURCE_DIR}/cmake) + +################################################################################ +# PortAudio +################################################################################ + +FetchContent_Declare( + portaudio + URL http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz + URL_HASH MD5=ad319249932c6794b551d954b8844402) +FetchContent_MakeAvailable(portaudio)