diff --git a/cmake/modules/FindInkscape.cmake b/cmake/modules/FindInkscape.cmake
index c4e7c3810cfaa3da201b102d5090e91e4725a442..e05668e01f06c3a0274e832383e1af29f9ab8773 100644
--- a/cmake/modules/FindInkscape.cmake
+++ b/cmake/modules/FindInkscape.cmake
@@ -57,7 +57,7 @@ function(inkscape_generate_eps_from_svg)
 
     add_custom_target(${input}
       COMMAND ${INKSCAPE} --export-dpi=${INKSCAPE_DPI} -e ${input} ${CMAKE_CURRENT_SOURCE_DIR}/${svginput}
-      COMMENT "Generating ${INKSCAPE_OUTPUT_DIR}/${pic} from ${CMAKE_CURRENT_SOURCE_DIR}/${input}")
+      COMMENT "Generating ${INKSCAPE_OUTPUT_DIR}/${svginput} from ${CMAKE_CURRENT_SOURCE_DIR}/${input}")
     add_custom_command(OUTPUT ${_pic}
       COMMAND ${CONVERT} ${INKSCAPE_INPUT_DIR}/${input} EPS:${_pic}
       DEPENDS ${input}