Add mGBA icon for OS X
Jeffrey Pfau jeffrey@endrift.com
Wed, 13 Aug 2014 00:14:25 -0700
2 files changed,
4 insertions(+),
1 deletions(-)
M
src/platform/qt/CMakeLists.txt
→
src/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})