diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_ifortenv.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_ifortenv.lua b/xmake/modules/detect/sdks/find_ifortenv.lua index b0adceb06..7c9665506 100644 --- a/xmake/modules/detect/sdks/find_ifortenv.lua +++ b/xmake/modules/detect/sdks/find_ifortenv.lua @@ -116,6 +116,12 @@ function _find_intel_on_windows(opt) "$(env IFORT_COMPILER23)" } ifortvars_bat = find_file("../../../setvars.bat", paths) + if not ifortvars_bat then + paths = { + "$(env IFORT_COMPILER24)" + } + ifortvars_bat = find_file("../../setvars.bat", paths) + end end if ifortvars_bat then |
