summaryrefslogtreecommitdiffstats
path: root/Modules/CPack.OSXX11.Info.plist.in
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-01-21 16:54:30 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-01-21 16:54:30 (GMT)
commitc647ed54d9c071393e95b204aac2bb975ec95fe9 (patch)
treede2b8f9c339804962fdf912d9837410cec5e3e60 /Modules/CPack.OSXX11.Info.plist.in
parentd2f27558dfe6ab7c3a36b631249c9e3b89e9eb28 (diff)
downloadCMake-c647ed54d9c071393e95b204aac2bb975ec95fe9.zip
CMake-c647ed54d9c071393e95b204aac2bb975ec95fe9.tar.gz
CMake-c647ed54d9c071393e95b204aac2bb975ec95fe9.tar.bz2
BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch.
Diffstat (limited to 'Modules/CPack.OSXX11.Info.plist.in')
-rw-r--r--Modules/CPack.OSXX11.Info.plist.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/CPack.OSXX11.Info.plist.in b/Modules/CPack.OSXX11.Info.plist.in
index 30ce2de..851b67b 100644
--- a/Modules/CPack.OSXX11.Info.plist.in
+++ b/Modules/CPack.OSXX11.Info.plist.in
@@ -4,6 +4,19 @@
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>@CPACK_FILE_ASSOCIATION_EXTENSION@</string>
+ </array>
+ <key>CFBundleTypeName</key>
+ <string>@CPACK_FILE_ASSOCIATION_TYPE@</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ </dict>
+ </array>
<key>CFBundleExecutable</key>
<string>@CPACK_PACKAGE_FILE_NAME@</string>
<key>CFBundleGetInfoString</key>