diff options
| author | ruki <[email protected]> | 2018-03-09 23:18:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-03-09 13:52:23 +0800 |
| commit | 086526dd70a4d8f7597629177dc44ba9add94ed5 (patch) | |
| tree | 156b538e81f59a7c9f52a5e0d71f8a44bef0a859 | |
| parent | 952efe5c652fae38a3d86ce9a4b0f81c6262726a (diff) | |
find cuda for linux path
| -rw-r--r-- | xmake/modules/detect/sdks/find_cuda_toolchains.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_cuda_toolchains.lua b/xmake/modules/detect/sdks/find_cuda_toolchains.lua index f6163ad54..534b570ac 100644 --- a/xmake/modules/detect/sdks/find_cuda_toolchains.lua +++ b/xmake/modules/detect/sdks/find_cuda_toolchains.lua @@ -35,7 +35,7 @@ function _find_cudadir() elseif os.host() == "windows" then table.insert(pathes, "$(env CUDA_PATH)/bin") else - table.insert(pathes, "/usr/local/cuda/bin") + table.insert(pathes, "/usr/local/cuda**/bin") end -- attempt to find nvcc |
