diff options
| author | ruki <[email protected]> | 2024-05-23 22:52:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-05-23 22:52:53 +0800 |
| commit | b3f983af7d3199a641c97b767a376042ff7e0a05 (patch) | |
| tree | ac0ed1b21c6af5c8426ebb303953de1633452f6a | |
| parent | e4a3ca8b3412581eaa9b6a7acb00d7d2b5a6b27a (diff) | |
improve to find ifort
| -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 |
