summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-13 09:32:30 +0800
committerOpportunityLiu <[email protected]>2019-07-14 00:04:52 +0800
commit515a9c3f542ef1b104a3af9a2398335e2d10fe7c (patch)
tree43cce985ab728cc7e4290b369cb000a8762fbff5 /xmake/modules/detect/tools
parent6061930a5c24f9b1ba717a9a39dafda02e8a802a (diff)
support call xmake from msbuild
Diffstat (limited to 'xmake/modules/detect/tools')
-rw-r--r--xmake/modules/detect/tools/find_nvcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_nvcc.lua b/xmake/modules/detect/tools/find_nvcc.lua
index 5b97f3dc9..ce98c9a60 100644
--- a/xmake/modules/detect/tools/find_nvcc.lua
+++ b/xmake/modules/detect/tools/find_nvcc.lua
@@ -51,7 +51,7 @@ function main(opt)
-- not found? attempt to find program from cuda toolchains
if not program then
- local toolchains = find_cuda(config.get("cuda"))
+ local toolchains = find_cuda()
if toolchains and toolchains.bindir then
program = find_program(path.join(toolchains.bindir, "nvcc"), opt)
end