Committed by
GitHub
Add detection conditions under the x86 platform. (#186)
When downloading onnxruntime, add detection conditions under the x86 platform.
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -62,7 +62,7 @@ function(download_onnxruntime) | @@ -62,7 +62,7 @@ function(download_onnxruntime) | ||
| 62 | elseif(WIN32) | 62 | elseif(WIN32) |
| 63 | message(STATUS "CMAKE_VS_PLATFORM_NAME: ${CMAKE_VS_PLATFORM_NAME}") | 63 | message(STATUS "CMAKE_VS_PLATFORM_NAME: ${CMAKE_VS_PLATFORM_NAME}") |
| 64 | 64 | ||
| 65 | - if(CMAKE_VS_PLATFORM_NAME STREQUAL Win32) | 65 | + if(CMAKE_VS_PLATFORM_NAME STREQUAL Win32 OR CMAKE_VS_PLATFORM_NAME STREQUAL win32) |
| 66 | # If you don't have access to the Internet, | 66 | # If you don't have access to the Internet, |
| 67 | # please pre-download onnxruntime | 67 | # please pre-download onnxruntime |
| 68 | # | 68 | # |
-
请 注册 或 登录 后发表评论