Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update protobuf_cmake.patch to allow extra disablements configurable …
…by projects that build ORT (#20875) ### Description Update protobuf_cmake.patch to allow extra disablements. ORT repo already patches protobuf to not disable the warning 4996. ### Motivation and Context To meet SDL requirements, Microsoft repos have to fail build if there is warning 4996 Binskim also gives errors if warning 4996 is disabled. We can suppress the Binskim issues, but we need a way to disable the warnings for the minimal set of code that has them. Right now, WindowsAI disables 4996 for entirety of ORT, but it should only be disabled for protobuf.
- Loading branch information