aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-06-14 12:29:12 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-06-14 12:29:12 +0200
commita4532ea3228036feeb4dcee4d289777044d920d3 (patch)
treeb1ce3a59d650655948cba43621f099f8b2e08476
parent4aeaf61c99a5f9cd593c88b2e3a480ae390026c3 (diff)
downloadlogdiag-a4532ea3228036feeb4dcee4d289777044d920d3.tar.gz
logdiag-a4532ea3228036feeb4dcee4d289777044d920d3.tar.xz
logdiag-a4532ea3228036feeb4dcee4d289777044d920d3.zip
Add some enlightening comments
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a09368b..eef37f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,6 +41,7 @@ if (CONVERT_EXECUTABLE AND NOT WIN32)
set (icon_svg ${icon_base}/scalable/apps/logdiag.svg)
set (icon_size_list 16x16 32x32 48x48)
+ # ImageMagick very oddly outperforms rsvg-convert with our specific SVG
set (icon_png_list)
set (icon_symbolic_list)
foreach (icon_size ${icon_size_list})
@@ -59,6 +60,8 @@ if (CONVERT_EXECUTABLE AND NOT WIN32)
PROPERTIES SYMBOLIC TRUE)
endforeach ()
+ # Symbolic targets prevent the icons from being either cleaned,
+ # or pointlessly regenerated slightly differently
set (icon_ico ${PROJECT_SOURCE_DIR}/share/logdiag.ico)
add_custom_target (${PROJECT_NAME}_icons
DEPENDS ${icon_symbolic_list}