diff --git a/deps/build.jl b/deps/build.jl index 2eac875..d702130 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -6,7 +6,8 @@ const depsfile = joinpath(@__DIR__, "deps.jl") # If BLAS was compiled with MKL and the user wants MKL-based FFTs, we'll oblige. # In that case, we have to do this little dance to get around having to use BinDeps # for a library that's already linked to Julia. -settings = joinpath(@__DIR__, "..", ".build_settings") +settings = joinpath(first(DEPOT_PATH), "prefs", "FFTW") +mkpath(dirname(settings)) if haskey(ENV, "JULIA_FFTW_PROVIDER") provider = ENV["JULIA_FFTW_PROVIDER"] open(f -> println(f, provider), settings, "w")