Skip to content

Commit 31dae58

Browse files
committed
improve to find iccenv
1 parent 476153a commit 31dae58

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

xmake/modules/detect/sdks/find_iccenv.lua

+6
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ function _find_intel_on_windows(opt)
116116
"$(env ICPP_COMPILER23)"
117117
}
118118
iclvars_bat = find_file("../../../setvars.bat", paths)
119+
if not iclvars_bat then
120+
paths = {
121+
"$(env ICPP_COMPILER24)"
122+
}
123+
iclvars_bat = find_file("../../setvars.bat", paths)
124+
end
119125
end
120126
if iclvars_bat then
121127

0 commit comments

Comments
 (0)