diff --git a/CMakeLists.txt b/CMakeLists.txt index 79d767e..90e9ece 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,7 @@ target_link_libraries(samplebrain PRIVATE Qt::Widgets dl fftw3 - lo + lo_shared m portaudio pthread diff --git a/Dependencies.cmake b/Dependencies.cmake index 0b6a94f..909eac1 100644 --- a/Dependencies.cmake +++ b/Dependencies.cmake @@ -15,3 +15,15 @@ FetchContent_Declare( FetchContent_MakeAvailable(fftw3) include_directories(${fftw3_SOURCE_DIR}/api) + +################################################################################ +# liblo +################################################################################ + +FetchContent_Declare( + liblo + URL http://downloads.sourceforge.net/liblo/liblo-0.31.tar.gz + URL_HASH MD5=14378c1e74c58e777fbb4fcf33ac5315) +FetchContent_MakeAvailable(liblo) + +add_subdirectory(${liblo_SOURCE_DIR}/cmake)