diff options
| author | ruki <[email protected]> | 2021-03-05 22:41:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-03-05 22:41:06 +0800 |
| commit | 97e94809e0ffb871b2e8a7554ad3eb54a034c525 (patch) | |
| tree | 1f81d3047ff4b7cf615df5dacd044d606fadd5b8 /xmake/plugins/project/cmake/cmakelists.lua | |
| parent | ecb7b50da9471f2ebc5d44d01c72e7860776e2c9 (diff) | |
add is_enabled
Diffstat (limited to 'xmake/plugins/project/cmake/cmakelists.lua')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index 502b5bc51..022e9fd88 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -477,7 +477,7 @@ function _add_target(cmakelists, target) -- is phony target? local targetkind = target:kind() - if target:isphony() then + if target:is_phony() then return _add_target_phony(cmakelists, target) elseif targetkind == "binary" then _add_target_binary(cmakelists, target) |
