Update build.jl

This commit is contained in:
2020-08-14 14:59:02 -05:00
committed by GitHub
parent 9037ef7b9d
commit 28b81f3784

4
deps/build.jl vendored
View File

@@ -35,14 +35,12 @@ const wincpxvers = ["128", "1280", "129", "1290", "1210", "12100"]
if haskey(ENV,env) if haskey(ENV,env)
for d in split(ENV[env],';') for d in split(ENV[env],';')
occursin("cplex", d) || continue occursin("cplex", d) || continue
if length(v) == 3 push!(libnames,joinpath(d,"cplex$(v)00"))
push!(libnames,joinpath(d,"cplex$(v)0")) push!(libnames,joinpath(d,"cplex$(v)0"))
else
push!(libnames,joinpath(d,"cplex$(v)")) push!(libnames,joinpath(d,"cplex$(v)"))
end end
end end
end end
end
end end
found = false found = false