diff options
| -rw-r--r-- | xmake/plugins/project/vsxmake/getinfo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index 4d6618ca9..8c1a477e7 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -155,7 +155,7 @@ function _make_targetinfo(mode, arch, target) -- fix c++17 to cxx17 for Xmake.props targetinfo.languages = targetinfo.languages:replace("c++", "cxx", {plain = true}) end - if target:is_phony() or target:is_headeronly() or target:is_moduleonly() then + if target:is_phony() or target:is_headeronly() or target:is_moduleonly() or target:is_object() then return targetinfo end |
