mirror of https://github.com/mgba-emu/mgba.git
Add mGBA icon for OS X
This commit is contained in:
parent
8f5145f4b8
commit
a78772ee47
Binary file not shown.
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue