diff options
| author | ruki <[email protected]> | 2024-02-22 23:35:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-22 23:35:32 +0800 |
| commit | f74e4e078d63bd5a7ccf699729c9f4852a4f5e33 (patch) | |
| tree | faae5a7c0684875d8da8e1b34c4ee277ebcdda5c | |
| parent | c2c25429dcca196253183a83388306bb1716a5c3 (diff) | |
add some comments
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index 77520b6a3..f0786091c 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -96,6 +96,8 @@ function _get_msvc_runenvs(package) local envs = {} local curenvs = os.getenvs() for k, v in pairs(os.joinenvs(_get_msvc(package):runenvs())) do + -- fix case naming conflict for msbuild between the new msvc envs and current environment, if we are running xmake in vs prompt. + -- @see https://github.com/xmake-io/xmake/issues/4751 local ck_found for ck, cv in pairs(curenvs) do if k:lower() == ck:lower() and k ~= ck then |
