Skip to content
Snippets Groups Projects
Commit 8b0c0472 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: Fix the compression with custom extension

parent c9f3ad1e
No related branches found
No related tags found
No related merge requests found
......@@ -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";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment