summaryrefslogtreecommitdiff
path: root/xmake/actions/install/install.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/actions/install/install.lua')
-rw-r--r--xmake/actions/install/install.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/install/install.lua b/xmake/actions/install/install.lua
index 1f990a1b9..16d9ed329 100644
--- a/xmake/actions/install/install.lua
+++ b/xmake/actions/install/install.lua
@@ -49,7 +49,7 @@ end
function _install_target(target)
-- has been disabled?
- if target:get("enabled") == false then
+ if not target:is_enabled() then
return
end