Skip to content

Commit 0cecbb7

Browse files
committed
DLIS-5208: onnxruntime+windows - stop treat warnings on compile as errors
1 parent 47c2d66 commit 0cecbb7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.py

+3
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,9 @@ def onnxruntime_cmake_args(images, library_paths):
690690
]
691691
else:
692692
if target_platform() == "windows":
693+
694+
cargs.append("--compile-no-warning-as-error"
695+
)
693696
if "base" in images:
694697
cargs.append(
695698
cmake_backend_arg(

0 commit comments

Comments
 (0)