Commit 716e3c7
authored
Use CMAKE_MSVC_RUNTIME_LIBRARY to choose MSVC CRT (WebAssembly#7243)
The current approach doesn't work when CMake uses the clang-style
version of the flag (i.e. `-MD` instead of `/MD`) to choose the runtime.
Now that we are depending on CMake newer than version 3.15 we can
use its builtin support for choosing the MSVC runtime.1 parent d555a06 commit 716e3c7
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
| |||
0 commit comments