From 0851f1dffc2dd06dda5bde80341ddcbe6ad699cc Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Mon, 16 May 2022 19:16:55 +0200 Subject: [PATCH] Install more size variations on Linux --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe9118685..06c6a3629 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -557,6 +557,10 @@ if (NOT ANDROID) install(DIRECTORY papers DESTINATION ${CMAKE_INSTALL_DOCDIR}) install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_DATADIR}/licenses/furnace) install(DIRECTORY demos DESTINATION ${CMAKE_INSTALL_DATADIR}/furnace) + foreach(num 16 32 64 128 256 512) + set(res ${num}x${num}) + install(FILES res/icon.iconset/icon_${res}.png RENAME furnace.png DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/${res}/apps) + endforeach() install(FILES res/logo.png RENAME furnace.png DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/1024x1024/apps) endif()