Lines 1-23
Link Here
|
1 |
--- CMakeLists.txt.orig 2011-01-17 19:38:13.000000000 +0800 |
1 |
--- CMakeLists.txt 2011-05-16 16:35:17.000000000 +0200 |
2 |
+++ CMakeLists.txt 2011-03-01 19:52:50.000000000 +0800 |
2 |
+++ CMakeLists.txt.new 2011-06-09 11:40:28.000000000 +0200 |
3 |
@@ -274,14 +274,15 @@ |
3 |
@@ -344,7 +344,9 @@ |
4 |
|
|
|
5 |
# {{{ Theme icons |
6 |
file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png) |
7 |
-set(ALL_ICONS ${icon_sources}) |
8 |
|
9 |
foreach(icon ${icon_sources}) |
10 |
# Copy all icons to the build dir to simplify the following code. |
11 |
# Source paths are interpreted relative to ${SOURCE_DIR}, target paths |
12 |
# relative to ${BUILD_DIR}. |
13 |
get_filename_component(icon_path ${icon} PATH) |
14 |
+ get_filename_component(icon_name ${icon} NAME) |
15 |
file(COPY ${icon} DESTINATION ${icon_path}) |
16 |
+ set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}") |
17 |
endforeach() |
18 |
|
19 |
macro(a_icon_convert match replacement input) |
20 |
@@ -343,7 +344,9 @@ |
21 |
PATTERN "*.in" EXCLUDE) |
4 |
PATTERN "*.in" EXCLUDE) |
22 |
install(DIRECTORY ${SOURCE_DIR}/themes DESTINATION ${AWESOME_DATA_PATH} |
5 |
install(DIRECTORY ${SOURCE_DIR}/themes DESTINATION ${AWESOME_DATA_PATH} |
23 |
PATTERN "*.in" EXCLUDE) |
6 |
PATTERN "*.in" EXCLUDE) |