summaryrefslogtreecommitdiff
path: root/xmake/rules/cuda/devlink/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/cuda/devlink/xmake.lua')
-rw-r--r--xmake/rules/cuda/devlink/xmake.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/rules/cuda/devlink/xmake.lua b/xmake/rules/cuda/devlink/xmake.lua
index da3bf8aef..0e0a513df 100644
--- a/xmake/rules/cuda/devlink/xmake.lua
+++ b/xmake/rules/cuda/devlink/xmake.lua
@@ -37,7 +37,10 @@ rule("cuda.build.devlink")
import("utils.progress")
-- disable devlink?
- local devlink = target:values("cuda.build.devlink")
+ --
+ -- @note cuda.build.devlink value will be deprecated
+ --
+ local devlink = target:policy("build.cuda.devlink") or target:values("cuda.build.devlink")
if devlink == false then
return
end