@@ -15,14 +15,14 @@ if(BUILD_SHARED_LIBS)
1515 message (FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS } " )
1616endif ()
1717
18- set (onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1 /onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.17.1 .tar.bz2" )
19- set (onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.17.1 .tar.bz2" )
18+ set (onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.23.2 /onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.23.2 .tar.bz2" )
19+ set (onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.23.2 .tar.bz2" )
2020if (CMAKE_BUILD_TYPE STREQUAL Debug)
21- set (onnxruntime_HASH "SHA256=ecc68d914541c3b6ebc36148af63fe2a6af0f4f955b35199d612698d23169fa5 " )
21+ set (onnxruntime_HASH "SHA256=5990f20c799a01d5397129b3e792c0b0a8e61deea6b46dffef61aa3d7315b6af " )
2222elseif (CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo)
23- set (onnxruntime_HASH "SHA256=7cbe58273e55d033568f84fb16d220cea4e25ec29eb7db405c4ac7b6e41f2dfa " )
23+ set (onnxruntime_HASH "SHA256=1c923107630ffbd045115157b44f2e415cc553d64811a5399009208683ebcf58 " )
2424elseif (CMAKE_BUILD_TYPE STREQUAL MinSizeRel)
25- set (onnxruntime_HASH "SHA256=9eb3adf0f6ac3b0e9f118e0d9e686f50fc651394e0b0cc569275af6e3ffed0e0 " )
25+ set (onnxruntime_HASH "SHA256=0ceab7ac41b220d43bbcb0826e8ecd6294669fd3a13b8643e40dd3c9db2ef896 " )
2626else ()
2727 message (FATAL_ERROR "This file is for building a debug version on Windows x64. Given ${CMAKE_BUILD_TYPE } " )
2828endif ()
@@ -31,10 +31,10 @@ endif()
3131# please download onnxruntime to one of the following locations.
3232# You can add more if you want.
3333set (possible_file_locations
34- $ENV{HOME} /Downloads/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.17.1 .tar.bz2
35- ${CMAKE_SOURCE_DIR } /onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.17.1 .tar.bz2
36- ${CMAKE_BINARY_DIR } /onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.17.1 .tar.bz2
37- /tmp/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.17.1 .tar.bz2
34+ $ENV{HOME} /Downloads/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.23.2 .tar.bz2
35+ ${CMAKE_SOURCE_DIR } /onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.23.2 .tar.bz2
36+ ${CMAKE_BINARY_DIR } /onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.23.2 .tar.bz2
37+ /tmp/onnxruntime-win-x64-static_lib-${CMAKE_BUILD_TYPE } -1.23.2 .tar.bz2
3838)
3939
4040foreach (f IN LISTS possible_file_locations)
0 commit comments