Add macOS icon.
This commit is contained in:
parent
54e831746d
commit
56b362bb24
|
@ -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()
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue