Add macOS icon.

This commit is contained in:
squidbus 2024-07-31 19:36:33 -07:00
parent 54e831746d
commit 56b362bb24
2 changed files with 6 additions and 1 deletions

View File

@ -553,6 +553,7 @@ if (ENABLE_QT_GUI)
${SHADER_RECOMPILER} ${SHADER_RECOMPILER}
${VIDEO_CORE} ${VIDEO_CORE}
${EMULATOR} ${EMULATOR}
src/images/shadPS4.icns
) )
else() else()
add_executable(shadps4 add_executable(shadps4
@ -640,5 +641,9 @@ target_include_directories(shadps4 PRIVATE ${HOST_SHADERS_INCLUDE})
if (ENABLE_QT_GUI) if (ENABLE_QT_GUI)
set_target_properties(shadps4 PROPERTIES set_target_properties(shadps4 PROPERTIES
# WIN32_EXECUTABLE ON # WIN32_EXECUTABLE ON
MACOSX_BUNDLE ON) MACOSX_BUNDLE ON
MACOSX_BUNDLE_ICON_FILE shadPS4.icns)
set_source_files_properties(src/images/shadPS4.icns PROPERTIES
MACOSX_PACKAGE_LOCATION Resources)
endif() endif()

BIN
src/images/shadPS4.icns Normal file

Binary file not shown.