diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_cuda.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_cuda.lua b/xmake/modules/detect/sdks/find_cuda.lua index 302b6ade0..6dc9f19d0 100644 --- a/xmake/modules/detect/sdks/find_cuda.lua +++ b/xmake/modules/detect/sdks/find_cuda.lua @@ -105,7 +105,7 @@ function _find_cuda(sdkdir) if is_host("windows") then local subdir = is_arch("x64") and "x64" or "Win32" table.insert(linkdirs, path.join(sdkdir, "lib", subdir)) - elseif is_host("linux") and is_arch("x86_64") then + elseif is_host("linux") and is_arch("x86_64", "arm64") then table.insert(linkdirs, path.join(sdkdir, "lib64")) else table.insert(linkdirs, path.join(sdkdir, "lib")) |
