File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -615,6 +615,15 @@ function Pkg_add(args...; kwargs...)
615615 end
616616end
617617
618+ function Pkg_add (ctx:: Pkg.Types.Context , rest... ; kwargs... )
619+ @static if VERSION >= v " 1.13-"
620+ # No need to pass the context anymore.
621+ Pkg_add (rest... ; kwargs)
622+ else
623+ Pkg_add (ctx, rest... ; kwargs)
624+ end
625+ end
626+
618627"""
619628 setup_dependencies(prefix::Prefix, dependencies::Vector{PackageSpec}, platform::AbstractPlatform; verbose::Bool = false)
620629
Original file line number Diff line number Diff line change 373373 with_temp_project () do dir
374374 prefix = Prefix (dir)
375375 dependencies = [
376- PackageSpec (; name= " CMake_jll" , version = v " 3.24.3" )
376+ PackageSpec (; name= " CMake_jll" , version = " 3.24.3" )
377377 ]
378378 platform = Platform (" x86_64" , " linux" ; libc= " musl" , cxxstring_abi= " cxx11" )
379379 if v " 1.9" <= VERSION < v " 1.11"
You can’t perform that action at this time.
0 commit comments