diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-02 15:36:44 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-02 15:36:44 (GMT) |
commit | 8b0c04724caebcf60161eeae53fd05330594ac08 (patch) | |
tree | dc847a206aa57a6aeeaa0e3170ec9838b5cdba16 /Source/cmGeneratedFileStream.cxx | |
parent | c9f3ad1e23a9ed6d17ab4224e0fe6ab4e8629c30 (diff) | |
download | CMake-8b0c04724caebcf60161eeae53fd05330594ac08.zip CMake-8b0c04724caebcf60161eeae53fd05330594ac08.tar.gz CMake-8b0c04724caebcf60161eeae53fd05330594ac08.tar.bz2 |
BUG: Fix the compression with custom extension
Diffstat (limited to 'Source/cmGeneratedFileStream.cxx')
-rw-r--r-- | Source/cmGeneratedFileStream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratedFileStream.cxx b/Source/cmGeneratedFileStream.cxx index 63a0384..c48620e 100644 --- a/Source/cmGeneratedFileStream.cxx +++ b/Source/cmGeneratedFileStream.cxx @@ -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"; } |