diff --git a/Source/Core/DolphinWX/resources/Dolphin.icns b/Data/Dolphin.icns similarity index 100% rename from Source/Core/DolphinWX/resources/Dolphin.icns rename to Data/Dolphin.icns diff --git a/Source/Core/DolphinQt2/CMakeLists.txt b/Source/Core/DolphinQt2/CMakeLists.txt index 363e5d9b0c..1a71b86c7f 100644 --- a/Source/Core/DolphinQt2/CMakeLists.txt +++ b/Source/Core/DolphinQt2/CMakeLists.txt @@ -173,6 +173,10 @@ if(APPLE) target_sources(${DOLPHINQT2_BINARY} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/qt.conf") set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/qt.conf" PROPERTIES MACOSX_PACKAGE_LOCATION Resources) + # Copy icon into the bundle + target_sources(${DOLPHINQT2_BINARY} PRIVATE "${CMAKE_SOURCE_DIR}/Data/Dolphin.icns") + set_source_files_properties("${CMAKE_SOURCE_DIR}/Data/Dolphin.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources) + # Copy Qt plugins into the bundle get_target_property(qtcocoa_location Qt5::QCocoaIntegrationPlugin LOCATION) target_sources(${DOLPHINQT2_BINARY} PRIVATE "${qtcocoa_location}") diff --git a/Source/Core/DolphinQt2/Info.plist.in b/Source/Core/DolphinQt2/Info.plist.in index f5356e6207..5e682e18a8 100644 --- a/Source/Core/DolphinQt2/Info.plist.in +++ b/Source/Core/DolphinQt2/Info.plist.in @@ -28,7 +28,7 @@ CFBundleExecutable dolphin-emu-qt2 CFBundleIconFile - Resources/Dolphin.icns + Dolphin.icns CFBundleIdentifier org.dolphin-emu.dolphin CFBundleDevelopmentRegion diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt index 505d11268f..d1ed79c781 100644 --- a/Source/Core/DolphinWX/CMakeLists.txt +++ b/Source/Core/DolphinWX/CMakeLists.txt @@ -93,7 +93,7 @@ set(LIBS if(APPLE) # Add resource files to application bundle. - set(RESOURCES resources/Dolphin.icns) + set(RESOURCES "${CMAKE_SOURCE_DIR}/Data/Dolphin.icns") list(APPEND SRCS ${RESOURCES}) set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)