mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2025-05-12 02:27:21 +00:00
50 lines
1.6 KiB
CMake
50 lines
1.6 KiB
CMake
################################################################################
|
|
# FetchContent
|
|
################################################################################
|
|
|
|
include(FetchContent)
|
|
|
|
################################################################################
|
|
# fftw3
|
|
################################################################################
|
|
|
|
FetchContent_Declare(
|
|
fftw3
|
|
URL http://fftw.org/fftw-3.3.10.tar.gz
|
|
URL_HASH MD5=8ccbf6a5ea78a16dbc3e1306e234cc5c)
|
|
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)
|
|
|
|
################################################################################
|
|
# PortAudio
|
|
################################################################################
|
|
|
|
FetchContent_Declare(
|
|
portaudio
|
|
URL http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz
|
|
URL_HASH MD5=ad319249932c6794b551d954b8844402)
|
|
FetchContent_MakeAvailable(portaudio)
|
|
|
|
################################################################################
|
|
# libsndfile
|
|
################################################################################
|
|
|
|
FetchContent_Declare(
|
|
libsndfile
|
|
GIT_REPOSITORY https://github.com/libsndfile/libsndfile
|
|
GIT_TAG 1.1.0)
|
|
FetchContent_MakeAvailable(libsndfile)
|