From: =?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com>
Date: Mon, 11 May 2020 14:01:59 +0200
Subject: inkspace: use --export-filename instead of deprecated --export-png

Added in inkscape 1.0
---
 cursors.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cursors.cmake b/cursors.cmake
index dcb342b..835f78c 100644
--- a/cursors.cmake
+++ b/cursors.cmake
@@ -20,7 +20,7 @@ macro(add_cursor cursor color theme dpi)
         add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/oxy-${theme}/png/${resolution}/${cursor}.png
                            DEPENDS ${CMAKE_BINARY_DIR}/oxy-${theme}/svg/${cursor}.svg
                            COMMAND ${INKSCAPE} --export-dpi=${resolution}
-                                               --export-png=${CMAKE_BINARY_DIR}/oxy-${theme}/png/${resolution}/${cursor}.png
+                                               --export-filename=${CMAKE_BINARY_DIR}/oxy-${theme}/png/${resolution}/${cursor}.png
                                                ${CMAKE_BINARY_DIR}/oxy-${theme}/svg/${cursor}.svg
                           )
     endforeach(resolution)
