|
@@ -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";
|
|
|
}
|
|
}
|