mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 11:30:25 +08:00
20584b9d44
* [libtorch] update to 2.1.2 * adjust features and deps * remove dep * fix onnx case * use system fxdiv * update xnnpack * fxdiv fix in libtorch * add newline * xnnpack does not install configs * more patching * fix patch * more fixes * use full lib for sleef. * fix glog symbol on osx * try fixing msvc ice * ok renaming did nothing * v db * remove comments * v db * cuda is only for x64 * v db * fix usage since cuda is still external to vcpkg * v db --------- Co-authored-by: Jim wang (BEYONDSOFT CONSULTING INC) <v-wangjim@microsoft.com>
14 lines
513 B
Diff
14 lines
513 B
Diff
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
|
|
index 8c1742591..a2ca73b6e 100644
|
|
--- a/cmake/Dependencies.cmake
|
|
+++ b/cmake/Dependencies.cmake
|
|
@@ -1581,7 +1581,7 @@ if(CAFFE2_CMAKE_BUILDING_WITH_MAIN_REPO AND NOT INTERN_DISABLE_ONNX)
|
|
target_compile_options(onnx PRIVATE -Wno-deprecated-declarations)
|
|
endif()
|
|
else()
|
|
- find_package(onnx REQUIRED)
|
|
+ find_package(ONNX REQUIRED)
|
|
set(ONNX_LIBRARY onnx)
|
|
set(ONNX_PROTO_LIBRARY onnx_proto)
|
|
message("-- Found onnx")
|