CMake: Full macOS Support, macOS CI uses CMake
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Syping 2021-01-28 18:39:42 +01:00
parent 2f7e4a154d
commit fd5006e70f
3 changed files with 21 additions and 10 deletions

View file

@ -34,6 +34,16 @@ if(WIN32)
res/app.rc
)
endif()
if(APPLE)
list(APPEND GTA5VIEW_RESOURCES
res/5sync.icns
)
set(MACOSX_BUNDLE_BUNDLE_NAME gta5view)
set(MACOSX_BUNDLE_BUNDLE_VERSION 1.10.0)
set(MACOSX_BUNDLE_ICON_FILE 5sync.icns)
set(MACOSX_BUNDLE_GUI_IDENTIFIER de.syping.gta5view)
set_source_files_properties(res/5sync.icns PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
endif()
list(APPEND GTA5VIEW_DEFINES
-DGTA5SYNC_CMAKE