mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2025-05-12 18:47:21 +00:00
Add fftw3 dependency
This commit is contained in:
parent
55e5427ec4
commit
6aa25397de
@ -1,6 +1,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(samplebrain VERSION 1.0 LANGUAGES CXX)
|
project(samplebrain VERSION 1.0 LANGUAGES CXX)
|
||||||
|
|
||||||
|
include(Dependencies.cmake)
|
||||||
|
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
|
||||||
# Set up AUTOMOC and some sensible defaults for runtime execution
|
# Set up AUTOMOC and some sensible defaults for runtime execution
|
||||||
|
17
Dependencies.cmake
Normal file
17
Dependencies.cmake
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
################################################################################
|
||||||
|
# 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)
|
Loading…
x
Reference in New Issue
Block a user