kissfftFloat: migrate cmakeFeature to cmakeBool

This commit is contained in:
Peder Bergebakken Sundt
2025-05-24 23:03:10 +02:00
parent 641c8533d1
commit 5c4cd8db3a
+1 -1
View File
@@ -57,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeFeature "KISSFFT_DATATYPE" datatype)
(lib.cmakeBool "KISSFFT_STATIC" enableStatic)
# `test/testkiss.py` expects this…
(lib.cmakeFeature "KISSFFT_OPENMP" (if enableOpenmp then "ON" else "OFF"))
(lib.cmakeBool "KISSFFT_OPENMP" enableOpenmp)
];
# Required for `test/testcpp.c`.