diff options
| author | ruki <[email protected]> | 2022-02-23 00:23:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-02-23 00:23:14 +0800 |
| commit | 092f8b1e29aa8e58ed0bdf75335a7f5f3ee6a56c (patch) | |
| tree | 9e1f08749a9f5fb99e23796c75f9be73a83e58f3 | |
| parent | a4aa0f5d1a9f16fe86200cea9798417fee4f36e7 (diff) | |
fix languages for vs generator
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua index febbbe09b..9317312a0 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua @@ -597,6 +597,7 @@ function _make_common_item(vcxprojfile, vsinfo, target, targetinfo) local cstandard local cxxstandard for _, lang in pairs(targetinfo.languages) do + lang = lang:replace("c++", "cxx", {plain = true}) if cxxlangflags[lang] then cxxstandard = cxxlangflags[lang] elseif clangflags[lang] then |
