Add mGBA icon for OS X

This commit is contained in:
Jeffrey Pfau 2014-08-13 00:14:25 -07:00
parent 8f5145f4b8
commit a78772ee47
2 changed files with 4 additions and 1 deletions

BIN
res/mgba.icns Normal file

Binary file not shown.

View File

@ -26,8 +26,11 @@ set(SOURCE_FILES AudioDevice.cpp AudioProcessor.cpp Display.cpp GameController.c
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})