summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackSTGZGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-15 17:02:18 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-15 17:02:18 (GMT)
commitc09c3c6bfadb41bd0b43082642ce76abbf02df06 (patch)
treed0aa5a228f589eddd9f75e0a980d8cf228326731 /Source/CPack/cmCPackSTGZGenerator.cxx
parent1df8e12c42a0ba6228059f456849010db5695ec3 (diff)
downloadCMake-c09c3c6bfadb41bd0b43082642ce76abbf02df06.zip
CMake-c09c3c6bfadb41bd0b43082642ce76abbf02df06.tar.gz
CMake-c09c3c6bfadb41bd0b43082642ce76abbf02df06.tar.bz2
ENH: Support for packaging source, several cleanups and more yeehaa...
Diffstat (limited to 'Source/CPack/cmCPackSTGZGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackSTGZGenerator.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx
index 96c4453..1ce9935 100644
--- a/Source/CPack/cmCPackSTGZGenerator.cxx
+++ b/Source/CPack/cmCPackSTGZGenerator.cxx
@@ -36,6 +36,13 @@ cmCPackSTGZGenerator::~cmCPackSTGZGenerator()
}
//----------------------------------------------------------------------
+int cmCPackSTGZGenerator::InitializeInternal()
+{
+ this->SetOptionIfNotSet("CPACK_INCLUDE_TOPLEVEL_DIRECTORY", "0");
+ return this->Superclass::InitializeInternal();
+}
+
+//----------------------------------------------------------------------
int cmCPackSTGZGenerator::GenerateHeader(std::ostream* os)
{
cmCPackLogger(cmCPackLog::LOG_DEBUG, "Writing header" << std::endl);