all repos — mgba @ a78772ee47032eb59ed0dc1274ce5236b3d73649

mGBA Game Boy Advance Emulator

Add mGBA icon for OS X
Jeffrey Pfau jeffrey@endrift.com
Wed, 13 Aug 2014 00:14:25 -0700
commit

a78772ee47032eb59ed0dc1274ce5236b3d73649

parent

8f5145f4b82fc7ba69be424bd3585ac49b55f5c9

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -26,8 +26,11 @@

if(USE_GDB_STUB) set(SOURCE_FILES ${PLATFORM_SRC} ${SOURCE_FILES} GDBController.cpp GDBWindow.cpp) endif() +set(MACOSX_BUNDLE_ICON_FILE mgba.icns) +set(MACOSX_BUNDLE_BUNDLE_VERSION ${LIB_VERSION_STRING}) +set_source_files_properties(${CMAKE_SOURCE_DIR}/res/mgba.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources) -add_executable(mGBA WIN32 MACOSX_BUNDLE main.cpp ${SOURCE_FILES}) +add_executable(mGBA WIN32 MACOSX_BUNDLE main.cpp ${CMAKE_SOURCE_DIR}/res/mgba.icns ${SOURCE_FILES}) qt5_use_modules(mGBA Widgets Multimedia OpenGL) target_link_libraries(mGBA ${PLATFORM_LIBRARY} ${OPENGL_LIBRARY} ${BINARY_NAME})