BUG: Fix the compression with custom extension
This commit is contained in:
parent
c9f3ad1e23
commit
8b0c04724c
|
@ -163,7 +163,7 @@ void cmGeneratedFileStreamBase::Open(const char* name)
|
|||
void cmGeneratedFileStreamBase::Close()
|
||||
{
|
||||
std::string resname = m_Name;
|
||||
if ( m_CompressExtraExtension )
|
||||
if ( m_Compress && m_CompressExtraExtension )
|
||||
{
|
||||
resname += ".gz";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue