Commit e719687
authored
[build] set ONNX_USE_LITE_PROTO=ON only for wasm when using vcpkg (microsoft#26485)
### Description
Before this change, ONNX_USE_LITE_PROTO is always set to OFF for all
vcpkg builds, including web assembly build. This PR modifies the
behavior to use lite proto when building targetting wasm.
No change to non-vcpkg build.1 parent 75d3547 commit e719687
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
| |||
0 commit comments