diff options
| author | ruki <[email protected]> | 2021-08-07 10:28:33 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-07 10:28:33 +0800 |
| commit | 0f35e8d5248fc56c395a3d03a1ac35a2e3378e63 (patch) | |
| tree | 712993b0886852478ab9862903121b4afc4bf2c6 | |
| parent | 53f3581ce3d32547ac15c69d4a52933ad3835848 (diff) | |
| parent | 5bbd1907fea3c0a1745d925ed967f1ecfee46a84 (diff) | |
Merge pull request #1557 from xq114/patch-2
fix cuda ccbin auto-detection on windows
| -rw-r--r-- | xmake/toolchains/cuda/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/cuda/xmake.lua b/xmake/toolchains/cuda/xmake.lua index ca25dcb74..29079d656 100644 --- a/xmake/toolchains/cuda/xmake.lua +++ b/xmake/toolchains/cuda/xmake.lua @@ -28,7 +28,7 @@ toolchain("cuda") -- set toolset set_toolset("cu", "nvcc", "clang") set_toolset("culd", "nvcc") - set_toolset("cu-ccbin", "$(env CXX)", "$(env CC)", "clang", "gcc") + set_toolset("cu-ccbin", "$(env CXX)", "$(env CC)") -- bind msvc environments, because nvcc will call cl.exe on_load(function (toolchain) |
