diff --git a/Source/bindexplib.cxx b/Source/bindexplib.cxx index b58a1c45be..03122cec0d 100644 --- a/Source/bindexplib.cxx +++ b/Source/bindexplib.cxx @@ -469,7 +469,7 @@ static bool DumpFile(std::string const& nmPath, char const* filename, // check for /bigobj and llvm LTO format cmANON_OBJECT_HEADER_BIGOBJ* h = (cmANON_OBJECT_HEADER_BIGOBJ*)lpFileBase; - if (h->Sig1 == 0x0 && h->Sig2 == 0xffff) { + if (h->Sig1 == 0x0 && h->Sig2 == 0xffff && h->Version >= 2) { // bigobj DumpSymbols symbolDumper(