Skip to content

Commit 8d8a700

Browse files
committed
update vcpkg with fixed patch
1 parent 689817d commit 8d8a700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/vcpkg-ports/onnx/binskim.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index 4a7df7d71..8462e3293 100644
2+
index 4a7df7d71..022cf92aa 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
55
@@ -52,6 +52,7 @@ option(ONNX_USE_LITE_PROTO "Use lite protobuf instead of full." OFF)
@@ -41,7 +41,7 @@ index 4a7df7d71..8462e3293 100644
4141
+ "${ONNX_ROOT}/onnx/backend/test/cpp/*.cc"
4242
+ "${ONNX_ROOT}/onnx/backend/test/cpp/*.h")
4343
+ list(REMOVE_ITEM __tmp_srcs "${ONNX_ROOT}/onnx/cpp2py_export.cc")
44-
+ list(REMOVE_ITEM __tmp_srcs ${onnx_gtests_src})
44+
+ list(REMOVE_ITEM __tmp_srcs ${onnx_gtests_src} "${ONNX_ROOT}/onnx/test/cmake/main.cc")
4545
+ list(APPEND ONNX_SRCS ${__tmp_srcs})
4646
+endif()
4747

0 commit comments

Comments
 (0)