3 1 files changed, 2 insertions(+), 1 deletions(-)
5 diff --git a/CMakeLists.txt b/CMakeLists.txt
6 index 64be9b9..472bec2 100644
9 @@ -244,14 +244,15 @@ endif()
12 file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png)
13 -set(ALL_ICONS ${icon_sources})
15 foreach(icon ${icon_sources})
16 # Copy all icons to the build dir to simplify the following code.
17 # Source paths are interpreted relative to ${SOURCE_DIR}, target paths
18 # relative to ${BUILD_DIR}.
19 get_filename_component(icon_path ${icon} PATH)
20 + get_filename_component(icon_name ${icon} NAME)
21 file(COPY ${icon} DESTINATION ${icon_path})
22 + set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}")
25 macro(a_icon_convert match replacement input)