Skip to content

Commit 4f78cc8

Browse files
authored
Merge pull request #95 from cserteGT3/cst-fix-windows-build
fix undefined variable in windows build
2 parents b61d251 + ac0613f commit 4f78cc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/build.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ function find_lib_ker()
7373
wpaths = [ENV["JULIA_WOLFRAM_DIR"]]
7474
else
7575
wpaths = String[]
76-
for dir in ["C:\\Program Files\\Wolfram Research\\Mathematica", "C:\\Program Files\\Wolfram Research\\Wolfram Engine"]
76+
for mpath in ["C:\\Program Files\\Wolfram Research\\Mathematica", "C:\\Program Files\\Wolfram Research\\Wolfram Engine"]
7777
if isdir(mpath)
7878
for ver in readdir(mpath)
79-
push!(wpaths, joinpath(dir, ver))
79+
push!(wpaths, joinpath(mpath, ver))
8080
end
8181
end
8282
end

0 commit comments

Comments
 (0)