commit | 898658dce01bd58e143eff03cee5beb474a91705 | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Fri Feb 12 11:24:00 2021 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 04:02:01 2021 -0800 |
tree | 09981cc10442e109a5574df65f361b49d2ad9616 | |
parent | c8790cd36034e150ba4f1ca97a8ce513d30e867c [diff] |
[OpenMP] Only use #pragma comment(lib, ...) in MSVC build configurations MinGW build configurations don't support this pragma (unless compiling with clang, with -fms-extensions, and linking with lld), and at least clang warns about it. This library does end up linked by the cmake files anyway (as long as the check works properly). Differential Revision: https://reviews.llvm.org/D96581 GitOrigin-RevId: 3f9519b768ebe7a2731443bdc2d3178a005e8d7f