[libcxx] Link to fewer MSVC CRT libraries
authorMartin Storsjö <martin@martin.st>
Sun, 16 Jul 2023 21:35:04 +0000 (00:35 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 19 Jul 2023 08:31:53 +0000 (11:31 +0300)
commit7506cb3c926a6d585b04a1425294666ef4e97a86
tree0e0925083fe47aa38823bf95bc2a14bac672d796
parentf9e54a5c0f2998ecf0339b1daab5dab0edf9f447
[libcxx] Link to fewer MSVC CRT libraries

The library msvcrt.lib pulls in ucrt.lib and vcruntime.lib anyway,
there's no need to manually link against the individual dependencies.

This matches how the tests link against libraries - they only link
against msvcrt and msvcprt, not directly against ucrt and vcruntime.

Differential Revision: https://reviews.llvm.org/D155555
libcxx/CMakeLists.txt