--- ./plugins/encoder/lame/CMakeLists.txt.orig	2008-08-28 10:41:55.000000000 -0400
+++ ./plugins/encoder/lame/CMakeLists.txt	2009-10-19 10:55:39.000000000 -0400
@@ -26,7 +26,7 @@
 target_link_libraries(k3blameencoder
   ${KDE4_KDECORE_LIBS}
   k3b k3bdevice
-  mp3lame)
+  ${LAME_LIBRARIES})
 
 install(TARGETS
   k3blameencoder kcm_k3blameencoder
