summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-10-20 16:21:03 +0200
committerbunnei <bunneidev@gmail.com>2015-10-20 16:21:03 +0200
commit2e2cfa0037cb5da99a67446ca32bdcecb02ab7db (patch)
treec314d8faa108f49fb9c022d1b8e466b73b7ef38b
parentMerge pull request #1199 from Gareth422/encryption-check (diff)
parentcitra-qt: Add icon to Mac app (diff)
downloadyuzu-2e2cfa0037cb5da99a67446ca32bdcecb02ab7db.tar
yuzu-2e2cfa0037cb5da99a67446ca32bdcecb02ab7db.tar.gz
yuzu-2e2cfa0037cb5da99a67446ca32bdcecb02ab7db.tar.bz2
yuzu-2e2cfa0037cb5da99a67446ca32bdcecb02ab7db.tar.lz
yuzu-2e2cfa0037cb5da99a67446ca32bdcecb02ab7db.tar.xz
yuzu-2e2cfa0037cb5da99a67446ca32bdcecb02ab7db.tar.zst
yuzu-2e2cfa0037cb5da99a67446ca32bdcecb02ab7db.zip
-rw-r--r--dist/citra.icnsbin0 -> 1027012 bytes
-rw-r--r--src/citra_qt/CMakeLists.txt4
2 files changed, 3 insertions, 1 deletions
diff --git a/dist/citra.icns b/dist/citra.icns
new file mode 100644
index 000000000..9d3dcca83
--- /dev/null
+++ b/dist/citra.icns
Binary files differ
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt
index 747ad5519..bbf6ae001 100644
--- a/src/citra_qt/CMakeLists.txt
+++ b/src/citra_qt/CMakeLists.txt
@@ -72,7 +72,9 @@ else()
endif()
if (APPLE)
- add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS})
+ set(MACOSX_ICON "../../dist/citra.icns")
+ set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
+ add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON})
set_target_properties(citra-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
else()
add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})