mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 09:57:50 +08:00
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")
|