The Intel Compiler v19.0 has a bug where it fails to link in pre-compiled header mode, unless Interprocedural Optimization: Multi-File (/Qipo) is switched on. This bug is not present in MSVC.
https://github.com/fmtlib/fmt/issues/1295
If you wish, I can provide a sample project if you cannot reproduce the issue.