diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 19 |
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}) |