ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / ki / kissfft / fix-fftw-dependency-check.patch
blob0e2cf0c9c452c31f385a4442cfb2e958ac7fc0a1
1 From a73134e594d85abc32e27a34a78ce75c5f006f92 Mon Sep 17 00:00:00 2001
2 From: Emily <hello@emily.moe>
3 Date: Sat, 3 Aug 2024 17:49:57 +0100
4 Subject: [PATCH] Fix FFTW dependency check
6 `KISFFT_FLOAT` is not defined anywhere.
7 ---
8 test/CMakeLists.txt | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
12 index 0a0e403..d7d8350 100644
13 --- a/test/CMakeLists.txt
14 +++ b/test/CMakeLists.txt
15 @@ -24,7 +24,7 @@ add_kissfft_test_executable(bm_kiss benchkiss.c pstats.c)
16 # set_tests_properties(${NAME} PROPERTIES TIMEOUT 3600)
18 include(FindPkgConfig)
19 -if(KISSFFT_FLOAT)
20 +if(KISSFFT_DATATYPE MATCHES "^float$")
21 set(fftw3_pkg fftw3f)
22 else()
23 set(fftw3_pkg fftw3)