Try linking to format.lib automatically on MSVC

This commit is contained in:
carterl 2015-02-11 10:13:43 +01:00
parent 240965305f
commit 2e7e2279d2

View File

@ -2497,6 +2497,8 @@ FMT_VARIADIC(int, fprintf, std::FILE *, StringRef)
#ifdef FMT_HEADER_ONLY
# include "format.cc"
#elif _MSC_VER
# pragma comment(lib, "format.lib")
#endif
#endif // FMT_FORMAT_H_