Merge topic 'fix-11761-less-file-download-noise'

667cf5b Make file DOWNLOAD less noisy (#11761)
This commit is contained in:
Brad King 2011-02-22 14:32:01 -05:00 committed by CMake Topic Stage
commit f556773f01
2 changed files with 2 additions and 4 deletions

View File

@ -2658,10 +2658,6 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string>
if (expectedMD5sum == actualMD5sum) if (expectedMD5sum == actualMD5sum)
{ {
this->Makefile->DisplayStatus(
"FILE(DOWNLOAD) returning early: file already exists with "
"expected MD5 sum", -1);
if(statusVar.size()) if(statusVar.size())
{ {
cmOStringStream result; cmOStringStream result;

View File

@ -37,5 +37,7 @@ file(DOWNLOAD
${url} ${url}
${dir}/file3.png ${dir}/file3.png
TIMEOUT 2 TIMEOUT 2
STATUS status
EXPECTED_MD5 d16778650db435bda3a8c3435c3ff5d1 EXPECTED_MD5 d16778650db435bda3a8c3435c3ff5d1
) )
message(STATUS "${status}")