summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoildkv <[email protected]>2021-08-07 00:14:54 +0800
committerGitHub <[email protected]>2021-08-07 00:14:54 +0800
commit5bbd1907fea3c0a1745d925ed967f1ecfee46a84 (patch)
tree48e027a6432d2e04e814a924e89ad4070b575493
parenta959af20d2a34038efb13053c112ef1d55084081 (diff)
fix cuda ccbin auto-detection on windows
-rw-r--r--xmake/toolchains/cuda/xmake.lua2
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)