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()
|
void cmGeneratedFileStreamBase::Close()
|
||||||
{
|
{
|
||||||
std::string resname = m_Name;
|
std::string resname = m_Name;
|
||||||
if ( m_CompressExtraExtension )
|
if ( m_Compress && m_CompressExtraExtension )
|
||||||
{
|
{
|
||||||
resname += ".gz";
|
resname += ".gz";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user