Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ca7292944d
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.878 kb
fix compilation with cmake 2.8.4
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=869
https://bugs.gentoo.org/show_bug.cgi?id=356009
--- awesome-3.4.9/CMakeLists.txt.orig
+++ awesome-3.4.9/CMakeLists.txt
@@ -274,14 +274,15 @@ endif()
# {{{ Theme icons
file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png)
-set(ALL_ICONS ${icon_sources})
foreach(icon ${icon_sources})
# Copy all icons to the build dir to simplify the following code.
# Source paths are interpreted relative to ${SOURCE_DIR}, target paths
# relative to ${BUILD_DIR}.
get_filename_component(icon_path ${icon} PATH)
+ get_filename_component(icon_name ${icon} NAME)
file(COPY ${icon} DESTINATION ${icon_path})
+ set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}")
endforeach()
macro(a_icon_convert match replacement input)
Jump to Line
Something went wrong with that request. Please try again.