gammaray/Fix_icons_installation.patch

34 lines
1.1 KiB
Diff

diff --git a/ui/resources/CMakeLists.txt b/ui/resources/CMakeLists.txt
index f0a9ac1c..c116f04c 100644
--- a/ui/resources/CMakeLists.txt
+++ b/ui/resources/CMakeLists.txt
@@ -2,14 +2,14 @@
if(UNIX AND NOT APPLE AND GAMMARAY_BUILD_UI)
foreach(size 16 24 32 48 64 128 256 512)
- foreach(scale 1 2 3)
+ #foreach(scale 1 2 3)
set(scaled_size ${size}x${size})
- if(${scale} GREATER 1)
- set(scaled_size ${size}x${size}@${scale})
- endif()
+ #if(${scale} GREATER 1)
+ # set(scaled_size ${size}x${size}@${scale})
+ #endif()
- set(source gammaray/GammaRay-${scaled_size}x.png)
+ set(source gammaray/GammaRay-${scaled_size}.png)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${source})
install(
@@ -17,7 +17,7 @@ if(UNIX AND NOT APPLE AND GAMMARAY_BUILD_UI)
DESTINATION "${ICON_INSTALL_DIR}/hicolor/${scaled_size}/apps" RENAME GammaRay.png
)
endif()
- endforeach(scale)
+ #endforeach(scale)
endforeach(size)
endif()