CMakeLists.txt: a_icon_convert: skip existing sources
Fixes: https://github.com/awesomeWM/awesome/pull/215#issuecomment-103185810.
This commit is contained in:
parent
95b932c4db
commit
87ee480853
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue