summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2019-07-15 20:59:48 +0800
committerGitHub <[email protected]>2019-07-15 20:59:48 +0800
commit861733b4d417d2b69b79a3720acbe659458aeaf4 (patch)
treea4b6e89a613c960e69c0d92f19348748d2797f59 /xmake/modules
parentdd8f3463d7b5f6ff96c45ca71238a6ec699ff4f1 (diff)
parent8cd138e181b63fa327b4b3caa3250fb1dce4b407 (diff)
Merge pull request #472 from OpportunityLiu/vsproj
Support call xmake from msbuild
Diffstat (limited to 'xmake/modules')
-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