mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Revert a cmake change in protobuf_cmake.patch (#20964)
Avoid patching external projects unless absolutely necessary #20875
This commit is contained in:
parent
007d106b73
commit
92ae60b01f
1 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 04cb3303a..4025805cf 100644
|
||||
index 04cb3303a..c023001de 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -249,9 +249,7 @@ if (MSVC)
|
||||
|
|
@ -20,12 +20,11 @@ index 04cb3303a..4025805cf 100644
|
|||
)
|
||||
# Allow big object
|
||||
add_definitions(/bigobj)
|
||||
@@ -289,7 +286,7 @@ if (MSVC)
|
||||
@@ -289,7 +286,6 @@ if (MSVC)
|
||||
else (MSVC)
|
||||
# No version.rc file.
|
||||
set(protobuf_version_rc_file)
|
||||
-
|
||||
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter")
|
||||
# When building with "make", "lib" prefix will be added automatically by
|
||||
# the build tool.
|
||||
set(LIB_PREFIX)
|
||||
|
|
|
|||
Loading…
Reference in a new issue