summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/ninja
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-05 22:41:06 +0800
committerruki <[email protected]>2021-03-05 22:41:06 +0800
commit97e94809e0ffb871b2e8a7554ad3eb54a034c525 (patch)
tree1f81d3047ff4b7cf615df5dacd044d606fadd5b8 /xmake/plugins/project/ninja
parentecb7b50da9471f2ebc5d44d01c72e7860776e2c9 (diff)
add is_enabled
Diffstat (limited to 'xmake/plugins/project/ninja')
-rw-r--r--xmake/plugins/project/ninja/build_ninja.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/ninja/build_ninja.lua b/xmake/plugins/project/ninja/build_ninja.lua
index 9ca2d8e42..041639a40 100644
--- a/xmake/plugins/project/ninja/build_ninja.lua
+++ b/xmake/plugins/project/ninja/build_ninja.lua
@@ -228,7 +228,7 @@ end
function _add_build_for_target(ninjafile, target)
-- is phony target?
- if target:isphony() then
+ if target:is_phony() then
return _add_build_for_phony(ninjafile, target)
end