summaryrefslogtreecommitdiff
path: root/Source/CPack/cmCPackBundleGenerator.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-01-22 13:56:13 -0500
committerDavid Cole <david.cole@kitware.com>2009-01-22 13:56:13 -0500
commit6bf31875ce3a87078ba3e90ce2e8cde44d561d86 (patch)
tree8be2d7b83f49f1028ddebea3d7197cffe8c990a2 /Source/CPack/cmCPackBundleGenerator.h
parentc332e0bf3c4e619358322bd0d0961af45653eb5b (diff)
downloadcmake-6bf31875ce3a87078ba3e90ce2e8cde44d561d86.tar.gz
BUG: Fix issue #8383. Avoid crashing when using the Bundle CPack generator and CPACK_BUNDLE_NAME is not set. Instead, fail gracefully giving an informative error message and non-zero exit code.
Diffstat (limited to 'Source/CPack/cmCPackBundleGenerator.h')
-rw-r--r--Source/CPack/cmCPackBundleGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackBundleGenerator.h b/Source/CPack/cmCPackBundleGenerator.h
index 04c57b4ec0..52c3c3a30c 100644
--- a/Source/CPack/cmCPackBundleGenerator.h
+++ b/Source/CPack/cmCPackBundleGenerator.h
@@ -34,6 +34,7 @@ public:
virtual ~cmCPackBundleGenerator();
protected:
+ virtual int InitializeInternal();
virtual const char* GetPackagingInstallPrefix();
int CompressFiles(const char* outFileName, const char* toplevel,
const std::vector<std::string>& files);