--- plugins/encoder/lame/CMakeLists.txt.orig	2014-11-04 18:37:31 UTC
+++ plugins/encoder/lame/CMakeLists.txt
@@ -26,7 +26,7 @@ kde4_add_plugin(k3blameencoder
 target_link_libraries(k3blameencoder
   ${KDE4_KDECORE_LIBS}
   k3b k3bdevice
-  mp3lame)
+  ${LAME_LIBRARIES})
 
 install(TARGETS
   k3blameencoder kcm_k3blameencoder
