File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,6 @@ deps = [
223223 dependency (' glew' ),
224224 dependency (' glfw3' ),
225225 dependency (' glm' ),
226- dependency (' kissfft-float' ),
227226 dependency (' libcrypto' ),
228227 dependency (' libcurl' ),
229228 dependency (' libmpg123' ),
@@ -283,6 +282,17 @@ endif
283282
284283deps += [uriparser_dep]
285284
285+ # Same: need to disable tests to not pull FFTW
286+ kissfft_dep = dependency (' kissfft-float' , required : false )
287+ if not kissfft_dep.found()
288+ kissfft_opts = cmake.subproject_options()
289+ kissfft_opts.add_cmake_defines({' KISSFFT_TEST' : false })
290+ kissfft_proj = cmake.subproject (' kissfft' , options : kissfft_opts)
291+ kissfft_dep = kissfft_proj.dependency (' kissfft' )
292+ endif
293+
294+ deps += [kissfft_dep]
295+
286296lib = library (' openFrameworks' ,
287297 sources,
288298 include_directories : inc,
You can’t perform that action at this time.
0 commit comments