--- filters/karbon/pdf/CMakeLists.txt.orig	2017-04-19 08:08:55 UTC
+++ filters/karbon/pdf/CMakeLists.txt
@@ -10,7 +10,7 @@ kde4_add_plugin(calligra_filter_pdf2svg 
 
 target_link_libraries(calligra_filter_pdf2svg komain ${POPPLER_LIBRARY} ${POPPLER_CORE_LIBRARY})
 if(JPEG_FOUND)
-    target_link_libraries(calligra_filter_pdf2svg jpeg)
+    target_link_libraries(calligra_filter_pdf2svg ${JPEG_LIBRARY})
 endif()
 if(OPENJPEG_FOUND)
     target_link_libraries(calligra_filter_pdf2svg ${OPENJPEG_LIBRARIES})
