diff --git a/cmake/onnxruntime.cmake b/cmake/onnxruntime.cmake index 00078231..ef437288 100644 --- a/cmake/onnxruntime.cmake +++ b/cmake/onnxruntime.cmake @@ -62,7 +62,7 @@ function(download_onnxruntime) elseif(WIN32) message(STATUS "CMAKE_VS_PLATFORM_NAME: ${CMAKE_VS_PLATFORM_NAME}") - if(CMAKE_VS_PLATFORM_NAME STREQUAL Win32) + if(CMAKE_VS_PLATFORM_NAME STREQUAL Win32 OR CMAKE_VS_PLATFORM_NAME STREQUAL win32) # If you don't have access to the Internet, # please pre-download onnxruntime #