--- a/tests/circuit/CMakeLists.txt
+++ b/tests/circuit/CMakeLists.txt
@@ -16,7 +16,7 @@
 target_link_libraries( circuitmodeltest
     ${QT_QTTEST_LIBRARY}
     ${KDEVPLATFORM_TESTS_LIBRARIES}
-    circuit
+    ktlcircuit
     ktlinterfaces
 )