summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-01-23 21:41:40 -0500
committerJune McEnroe <june@causal.agency>2022-01-23 21:41:40 -0500
commitfc8764084d8111e443866b92549bd8403b7913c7 (patch)
tree90647b9f974a9aa16c229986f08b643d3cdfe86b
parentUpscale icons for macOS (diff)
downloadwep-fc8764084d8111e443866b92549bd8403b7913c7.tar.gz
wep-fc8764084d8111e443866b92549bd8403b7913c7.zip
Fill in some Info.plist fields
-rw-r--r--CMakeLists.txt19
1 files changed, 15 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc9e0d6..4836b88 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.13)
 
-project(WEP C)
+project(WEP VERSION 0 LANGUAGES C)
 
 find_package(SDL2 REQUIRED)
 
@@ -34,13 +34,24 @@ foreach(game ${games})
 	set_target_properties(
 		${game} PROPERTIES
 		MACOSX_BUNDLE_INFO_PLIST
-		${CMAKE_CURRENT_SOURCE_DIR}/MacOSXBundleInfo.plist.in
+			${CMAKE_CURRENT_SOURCE_DIR}/MacOSXBundleInfo.plist.in
+		MACOSX_BUNDLE_GUI_IDENTIFIER agency.causal.wep.${game}
+		MACOSX_BUNDLE_SHORT_VERSION_STRING "Version ${CMAKE_PROJECT_VERSION}"
+		MACOSX_BUNDLE_COPYRIGHT "Copyright 2019 June McEnroe"
 	)
 endforeach()
 
 if(APPLE)
-	set_target_properties(sol PROPERTIES OUTPUT_NAME Solitaire)
-	set_target_properties(freecell PROPERTIES OUTPUT_NAME FreeCell)
+	set_target_properties(
+		sol PROPERTIES
+		OUTPUT_NAME Solitaire
+		MACOSX_BUNDLE_BUNDLE_NAME Solitaire
+	)
+	set_target_properties(
+		freecell PROPERTIES
+		OUTPUT_NAME FreeCell
+		MACOSX_BUNDLE_BUNDLE_NAME FreeCell
+	)
 endif()
 
 foreach(tool ${tools})