Commit c1cbe08
authored
Fix node_helper.cmake for wasm build on Windows (microsoft#25517)
### Description
When building targeting wasm, `WIN32` is `false`. Use `CMAKE_HOST_WIN32`
instead.
### Motivation and Context
Fix the problem when building wasm on Windows, node_helper cannot find
NPM correctly.1 parent 223c4a0 commit c1cbe08
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments