--- a/libkwave/CMakeLists.txt
+++ b/libkwave/CMakeLists.txt
@@ -105,6 +105,7 @@
 
 TARGET_LINK_LIBRARIES(libkwave
     audiofile
+    ${SAMPLERATE_LIBS}
     ${QT_AND_KDECORE_LIBS}
 )