~cypheon/elfelli

3248ab6f6a8329a270c9be8d34ed392ba9bb0b23 — Johann Rudloff 1 year, 8 months ago e30905c
Rename RSVG variable to fix Travis CI build.
1 files changed, 2 insertions(+), 2 deletions(-)

M CMakeLists.txt
M CMakeLists.txt => CMakeLists.txt +2 -2
@@ 59,13 59,13 @@ install(FILES data/elfelli-logo.svg
  )

find_program(RSVG
  rsvg NAMES rsvg-convert
  rsvg_convert NAMES rsvg-convert
  )

add_custom_command(
  OUTPUT data/elfelli_48.png
  COMMAND ${CMAKE_COMMAND} -E make_directory data
  COMMAND "${RSVG}" ARGS -w 48 -h 48 -f png -o data/elfelli_48.png ${CMAKE_CURRENT_SOURCE_DIR}/data/elfelli-logo.svg
  COMMAND "${RSVG_CONVERT}" ARGS -w 48 -h 48 -f png -o data/elfelli_48.png ${CMAKE_CURRENT_SOURCE_DIR}/data/elfelli-logo.svg
  MAIN_DEPENDENCY data/elfelli-logo.svg
  )
add_custom_target( icon ALL DEPENDS data/elfelli_48.png )