summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/detect/sdks/find_icxenv.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_icxenv.lua b/xmake/modules/detect/sdks/find_icxenv.lua
index 4e2293415..175729827 100644
--- a/xmake/modules/detect/sdks/find_icxenv.lua
+++ b/xmake/modules/detect/sdks/find_icxenv.lua
@@ -123,6 +123,7 @@ function _find_intel_on_linux(opt)
paths = {}
for _, rootdir in ipairs(oneapi_rootdirs) do
table.insert(paths, path.join(rootdir, "*", is_host("macosx") and "mac" or "linux", "bin"))
+ table.insert(paths, path.join(rootdir, "*", "bin"))
end
if #paths > 0 then
local icx = find_file("icx", paths)