[CMake][MSVC] Use CMAKE_MSVC_RUNTIME_LIBRARY to select a CRT type instead of regexp replacing CMake 3.15 introduced CMP0091 and CMAKE_MSVC_RUNTIME_LIBRARY. https://cmake.org/cmake/help/latest/policy/CMP0091.html https://cmake.org/cmake/help/latest/variable/CMAKE_MSVC_RUNTIME_LIBRARY.html AppleWin bots are using 3.21.3 (bug#231905 comment#2)
Created attachment 463699 [details] Patch
Comment on attachment 463699 [details] Patch Umm, jsc EWS failed. > CMake Error at Source/JavaScriptCore/CMakeLists.txt:2 (cmake_policy): > Policy "CMP0091" is not known to this version of CMake.
Comment on attachment 463699 [details] Patch Bots are now happy so this is good to go
*** Bug 248246 has been marked as a duplicate of this bug. ***
Created attachment 463744 [details] Patch
Committed 257053@main (121756da7448): <https://commits.webkit.org/257053@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 463744 [details].