diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 984989e4b..2c2c1c03b 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -3287,7 +3287,7 @@ cmFileCommand::HandleDownloadCommand(std::vector const& args) } } - if(!chunkDebug.empty()) + if (!logVar.empty()) { chunkDebug.push_back(0); this->Makefile->AddDefinition(logVar, &*chunkDebug.begin());