--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -37,6 +37,7 @@
         kwavegui
         kwave
         ${plugin_${_plugin}_LIBS}
+        ${SAMPLERATE_LIBS}
         ${QT_AND_KDECORE_LIBS}
     )