diff options
| -rw-r--r-- | xmake/toolchains/icx/load.lua | 2 | ||||
| -rw-r--r-- | xmake/toolchains/ifort/load.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/toolchains/icx/load.lua b/xmake/toolchains/icx/load.lua index f20ca31de..0e7d2a685 100644 --- a/xmake/toolchains/icx/load.lua +++ b/xmake/toolchains/icx/load.lua @@ -61,7 +61,7 @@ function _add_icxenv(toolchain, name, curenvs) local icxenv = icxvarsall[arch] or {} -- get the paths for the icx environment - local new = icxvarsall[name] + local new = icxenv[name] if new then -- fix case naming conflict for cmake/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 diff --git a/xmake/toolchains/ifort/load.lua b/xmake/toolchains/ifort/load.lua index 8eb616475..2dadba240 100644 --- a/xmake/toolchains/ifort/load.lua +++ b/xmake/toolchains/ifort/load.lua @@ -61,7 +61,7 @@ function _add_ifortenv(toolchain, name, curenvs) local ifortenv = ifortvarsall[arch] or {} -- get the paths for the ifort environment - local new = ifortvarsall[name] + local new = ifortenv[name] if new then -- fix case naming conflict for cmake/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 |
