From aa76ccc06b6472b37f48115106264695fae9e3df Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Sat, 7 Oct 2023 12:00:41 -0400 Subject: [PATCH] fix Requires by moving ext into `init` function --- src/StartUpDG.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/StartUpDG.jl b/src/StartUpDG.jl index 7d8ed700..0758b40e 100644 --- a/src/StartUpDG.jl +++ b/src/StartUpDG.jl @@ -107,13 +107,13 @@ function __init__() @require Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" begin include("TriangulatePlots.jl") end -end -# Until Julia v1.9 is the minimum required version for StartUpDG.jl, we still support Requires.jl -@static if !isdefined(Base, :get_extension) + # Until Julia v1.9 is the minimum required version for StartUpDG.jl, we still support Requires.jl + @static if !isdefined(Base, :get_extension) @require SummationByPartsOperators="9f78cca6-572e-554e-b819-917d2f1cf240" begin include("../ext/StartUpDGSummationByPartsOperatorsExt.jl") end -end + end +end end # module