mirror of
https://github.com/reactos/CMake.git
synced 2025-01-27 06:42:32 +00:00
BUG: Print the right line number to the right pipe
This commit is contained in:
parent
6ac0063af7
commit
af923d13fa
@ -195,7 +195,14 @@ void cmCPackLog::Log(int tag, const char* file, int line, const char* msg, size_
|
||||
}
|
||||
if ( useFileAndLine )
|
||||
{
|
||||
*m_DefaultOutput << __FILE__ << ":" << __LINE__ << " ";
|
||||
if ( error || warning )
|
||||
{
|
||||
*m_DefaultError << file << ":" << line << " ";
|
||||
}
|
||||
else
|
||||
{
|
||||
*m_DefaultOutput << file << ":" << line << " ";
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( error || warning )
|
||||
|
Loading…
x
Reference in New Issue
Block a user