summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/cuda/devlink/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/cuda/devlink/xmake.lua b/xmake/rules/cuda/devlink/xmake.lua
index 67c7836eb..da3bf8aef 100644
--- a/xmake/rules/cuda/devlink/xmake.lua
+++ b/xmake/rules/cuda/devlink/xmake.lua
@@ -42,9 +42,9 @@ rule("cuda.build.devlink")
return
end
- -- only for binary/shared on non-windows platforms
+ -- only for binary/shared by default
-- https://github.com/xmake-io/xmake/issues/1976
- if not (devlink == true or target:is_plat("windows") or target:is_binary() or target:is_shared()) then
+ if not (devlink == true or target:is_binary() or target:is_shared()) then
return
end