From 231efbda519054c8a7e210579372b1c83865c4fe Mon Sep 17 00:00:00 2001 From: zsien Date: Mon, 22 Jul 2024 20:59:26 +0800 Subject: [PATCH] fix: missing icon in DCC Issues: linuxdeepin/developer-center#9874 --- deepin-system-monitor-plugin/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deepin-system-monitor-plugin/CMakeLists.txt b/deepin-system-monitor-plugin/CMakeLists.txt index 3f814dbe..d1bcd9df 100644 --- a/deepin-system-monitor-plugin/CMakeLists.txt +++ b/deepin-system-monitor-plugin/CMakeLists.txt @@ -74,5 +74,9 @@ add_custom_target(PLUGIN_QMFILES ALL DEPENDS ${APP_QM_FILES}) INSTALL(FILES com.deepin.dde.dock.module.system-monitor.gschema.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/glib-2.0/schemas) #INSTALL(FILES com.deepin.system.monitor.plugin.gschema.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/glib-2.0/schemas) INSTALL(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib/dde-dock/plugins) +INSTALL(FILES asserts/icons/deepin/builtin/actions/deepin-system-monitor_20px.svg + DESTINATION ${CMAKE_INSTALL_DATADIR}/share/dde-dock/icons/dcc-setting + RENAME deepin-system-monitor.svg +) #安装翻译文件 install(FILES ${APP_QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/deepin-system-monitor-plugin/translations)