diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2019-07-31 02:56:49 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2019-07-31 02:56:49 +0300 |
commit | 06e9f4bb7fdb3b4dbb76066899fd9d286ff27b9b (patch) | |
tree | b90c8d1bb16eea615d332d0ab532442e85f8f226 /plugins | |
parent | ea7a5cda8baf497ed7a1fdcf6abe5a490d572a32 (diff) |
Make icon cache optional. Partly solve #1045
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/nx/CMakeLists.txt | 4 | ||||
-rw-r--r-- | plugins/rdp/CMakeLists.txt | 4 | ||||
-rw-r--r-- | plugins/spice/CMakeLists.txt | 4 | ||||
-rw-r--r-- | plugins/st/CMakeLists.txt | 4 | ||||
-rw-r--r-- | plugins/vnc/CMakeLists.txt | 4 | ||||
-rw-r--r-- | plugins/www/CMakeLists.txt | 4 | ||||
-rw-r--r-- | plugins/xdmcp/CMakeLists.txt | 4 |
7 files changed, 21 insertions, 7 deletions
diff --git a/plugins/nx/CMakeLists.txt b/plugins/nx/CMakeLists.txt index 39644dbaf..604c0a20e 100644 --- a/plugins/nx/CMakeLists.txt +++ b/plugins/nx/CMakeLists.txt @@ -61,4 +61,6 @@ install(FILES scalable/emblems/remmina-nx-symbolic.svg DESTINATION ${APPICONSCALE_EMBLEMS_DIR}) -gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +if(WITH_ICON_CACHE) + gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +endif() diff --git a/plugins/rdp/CMakeLists.txt b/plugins/rdp/CMakeLists.txt index 573e9c5fb..9dccf2bb9 100644 --- a/plugins/rdp/CMakeLists.txt +++ b/plugins/rdp/CMakeLists.txt @@ -73,4 +73,6 @@ install(FILES scalable/emblems/remmina-rdp-symbolic.svg DESTINATION ${APPICONSCALE_EMBLEMS_DIR}) -gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +if(WITH_ICON_CACHE) + gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +endif() diff --git a/plugins/spice/CMakeLists.txt b/plugins/spice/CMakeLists.txt index e7c96a836..21291fe26 100644 --- a/plugins/spice/CMakeLists.txt +++ b/plugins/spice/CMakeLists.txt @@ -50,4 +50,6 @@ install(FILES scalable/emblems/remmina-spice-symbolic.svg DESTINATION ${APPICONSCALE_EMBLEMS_DIR}) -gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +if(WITH_ICON_CACHE) + gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +endif() diff --git a/plugins/st/CMakeLists.txt b/plugins/st/CMakeLists.txt index 10dfc7642..adf0ca9d1 100644 --- a/plugins/st/CMakeLists.txt +++ b/plugins/st/CMakeLists.txt @@ -49,4 +49,6 @@ install(FILES scalable/emblems/remmina-tool-symbolic.svg DESTINATION ${APPICONSCALE_EMBLEMS_DIR}) -gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +if(WITH_ICON_CACHE) + gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +endif() diff --git a/plugins/vnc/CMakeLists.txt b/plugins/vnc/CMakeLists.txt index f8cd1fdca..d64c94e7f 100644 --- a/plugins/vnc/CMakeLists.txt +++ b/plugins/vnc/CMakeLists.txt @@ -51,4 +51,6 @@ install(FILES scalable/emblems/remmina-vnc-symbolic.svg DESTINATION ${APPICONSCALE_EMBLEMS_DIR}) -gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +if(WITH_ICON_CACHE) + gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +endif() diff --git a/plugins/www/CMakeLists.txt b/plugins/www/CMakeLists.txt index e3fdd3747..66b9bc060 100644 --- a/plugins/www/CMakeLists.txt +++ b/plugins/www/CMakeLists.txt @@ -53,7 +53,9 @@ install(FILES scalable/emblems/remmina-www-symbolic.svg DESTINATION ${APPICONSCALE_EMBLEMS_DIR}) -gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +if(WITH_ICON_CACHE) + gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +endif() # In the feature we will have more resources to add, so I use a GLOB file(GLOB WWW_RES_FILES "${CMAKE_CURRENT_SOURCE_DIR}/resources/js/www-js.js") diff --git a/plugins/xdmcp/CMakeLists.txt b/plugins/xdmcp/CMakeLists.txt index 57da9b4bb..f353e257e 100644 --- a/plugins/xdmcp/CMakeLists.txt +++ b/plugins/xdmcp/CMakeLists.txt @@ -49,4 +49,6 @@ install(FILES scalable/emblems/remmina-xdmcp-symbolic.svg DESTINATION ${APPICONSCALE_EMBLEMS_DIR}) -gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +if(WITH_ICON_CACHE) + gtk_update_icon_cache("${REMMINA_DATADIR}/icons/hicolor") +endif() |