CMakeLists.txt: a_icon_convert: skip existing sources

Fixes: https://github.com/awesomeWM/awesome/pull/215#issuecomment-103185810.
This commit is contained in:
Daniel Hahler 2015-07-29 14:32:30 +02:00
parent 95b932c4db
commit 87ee480853
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ endforeach()
macro(a_icon_convert match replacement input)
string(REPLACE ${match} ${replacement} output ${input})
if(NOT ${input} STREQUAL ${output})
if(NOT ${input} STREQUAL ${output} AND NOT ";${ALL_ICONS};" MATCHES ";${output};")
set(ALL_ICONS ${ALL_ICONS} ${output})
add_custom_command(