Commit a541965
committed
cmake: Fix unexpected CMake variable expansion for "WASI"
CMake 3.31 introduced a new variable `WASI` that conflicts with the
sdk name in `SWIFT_SDKS` CMake variable in our build system. With CMake
3.31 and later, tests of `--build-wasm-stdlib` fail because
`if(${SDK} STREQUAL "WASI")` always evaluates to false.
https://cmake.org/cmake/help/v3.31/variable/WASI.html1 parent db7bd86 commit a541965
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
0 commit comments