diff options
-rw-r--r-- | applications/kube/CMakeLists.txt | 1 | ||||
-rw-r--r-- | cmake/modules/MacOSXBundleInfo.plist.in | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/applications/kube/CMakeLists.txt b/applications/kube/CMakeLists.txt index 53556345..3e5e1d57 100644 --- a/applications/kube/CMakeLists.txt +++ b/applications/kube/CMakeLists.txt | |||
@@ -14,6 +14,7 @@ if(APPLE OR WIN32) | |||
14 | endif() | 14 | endif() |
15 | 15 | ||
16 | add_executable(${PROJECT_NAME} ${SRCS}) | 16 | add_executable(${PROJECT_NAME} ${SRCS}) |
17 | set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST MacOSXBundleInfo.plist.in) | ||
17 | target_link_libraries(${PROJECT_NAME} | 18 | target_link_libraries(${PROJECT_NAME} |
18 | Qt5::Quick | 19 | Qt5::Quick |
19 | ${CMAKE_DL_LIBS} | 20 | ${CMAKE_DL_LIBS} |
diff --git a/cmake/modules/MacOSXBundleInfo.plist.in b/cmake/modules/MacOSXBundleInfo.plist.in new file mode 100644 index 00000000..4f099f99 --- /dev/null +++ b/cmake/modules/MacOSXBundleInfo.plist.in | |||
@@ -0,0 +1,36 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | <plist version="1.0"> | ||
4 | <dict> | ||
5 | <key>CFBundleDevelopmentRegion</key> | ||
6 | <string>English</string> | ||
7 | <key>CFBundleExecutable</key> | ||
8 | <string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string> | ||
9 | <key>CFBundleGetInfoString</key> | ||
10 | <string>${MACOSX_BUNDLE_INFO_STRING}</string> | ||
11 | <key>CFBundleIconFile</key> | ||
12 | <string>${MACOSX_BUNDLE_ICON_FILE}</string> | ||
13 | <key>CFBundleIdentifier</key> | ||
14 | <string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string> | ||
15 | <key>CFBundleInfoDictionaryVersion</key> | ||
16 | <string>6.0</string> | ||
17 | <key>CFBundleLongVersionString</key> | ||
18 | <string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string> | ||
19 | <key>CFBundleName</key> | ||
20 | <string>${MACOSX_BUNDLE_BUNDLE_NAME}</string> | ||
21 | <key>CFBundlePackageType</key> | ||
22 | <string>APPL</string> | ||
23 | <key>CFBundleShortVersionString</key> | ||
24 | <string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string> | ||
25 | <key>CFBundleSignature</key> | ||
26 | <string>????</string> | ||
27 | <key>CFBundleVersion</key> | ||
28 | <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string> | ||
29 | <key>CSResourcesFileMapped</key> | ||
30 | <true/> | ||
31 | <key>NSHumanReadableCopyright</key> | ||
32 | <string>${MACOSX_BUNDLE_COPYRIGHT}</string> | ||
33 | <key>NSPrincipalClass</key> | ||
34 | <string>NSApplication</string> | ||
35 | </dict> | ||
36 | </plist> | ||