mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-06 09:06:55 +00:00
OSX bundle file generation with cmake.
This commit is contained in:
parent
2a82e3c54e
commit
30a1ef1690
@ -1469,8 +1469,13 @@ if(UNITTEST)
|
||||
endif()
|
||||
|
||||
if (TargetBin)
|
||||
if (IOS)
|
||||
add_executable(${TargetBin} MACOSX_BUNDLE ${NativeAppSource})
|
||||
if (IOS OR APPLE)
|
||||
set(ICON_PATH_ABS ${CMAKE_CURRENT_SOURCE_DIR}/assets/icon-114.icns)
|
||||
set( MACOSX_BUNDLE_ICON_FILE icon-114.icns )
|
||||
set_source_files_properties(${ICON_PATH_ABS} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
|
||||
#set( MACOSX_BUNDLE_ICON_FILE Resouces/icon-114.icns )
|
||||
#set_source_files_properties(assets PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
|
||||
add_executable(${TargetBin} MACOSX_BUNDLE ${ICON_PATH_ABS} ${NativeAppSource})
|
||||
else()
|
||||
add_executable(${TargetBin} ${NativeAppSource})
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user