summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDragNDropGenerator.h
diff options
context:
space:
mode:
authorSimon Levermann <Simon.Levermann@governikus.de>2015-11-24 15:17:53 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-02 13:26:01 (GMT)
commitae434ee2dd1a91cd8ec53a631d8db9949d5f46b0 (patch)
tree2b187fb4979b9a1c1e1bc626ff759429aa89b9ae /Source/CPack/cmCPackDragNDropGenerator.h
parent3c6a3668760ba48dde33f20de08dc6e16cfe7ab3 (diff)
downloadCMake-ae434ee2dd1a91cd8ec53a631d8db9949d5f46b0.zip
CMake-ae434ee2dd1a91cd8ec53a631d8db9949d5f46b0.tar.gz
CMake-ae434ee2dd1a91cd8ec53a631d8db9949d5f46b0.tar.bz2
CPack/DragNDrop: Allow single license for multiple languages
When both CPACK_DMG_SLA_DIR and CPACK_RESOURCE_FILE_LICENSE are defined, use the license file for all languages instead of looking for a license file for each language. Also expand the documentation on the SLA variables.
Diffstat (limited to 'Source/CPack/cmCPackDragNDropGenerator.h')
-rw-r--r--Source/CPack/cmCPackDragNDropGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.h b/Source/CPack/cmCPackDragNDropGenerator.h
index 53d38c4..b5e5ffe 100644
--- a/Source/CPack/cmCPackDragNDropGenerator.h
+++ b/Source/CPack/cmCPackDragNDropGenerator.h
@@ -48,6 +48,7 @@ protected:
private:
std::string slaDirectory;
+ bool singleLicense;
void WriteLicense(cmGeneratedFileStream& outputStream, int licenseNumber,
std::string licenseLanguage, std::string licenseFile = "");