diff --git a/source/RobotAPI/components/RobotState/test/CMakeLists.txt b/source/RobotAPI/components/RobotState/test/CMakeLists.txt
index 2dfe68fa517eaf200803eaf8b997fcf738e76110..bdedba35eaee4df324cf3b09f65fd3ea1cf70a68 100644
--- a/source/RobotAPI/components/RobotState/test/CMakeLists.txt
+++ b/source/RobotAPI/components/RobotState/test/CMakeLists.txt
@@ -1,4 +1,3 @@
-set(LIBS ${LIBS} RobotAPICore RobotAPIRobotStateComponent)
+set(LIBS ${LIBS} RobotAPICore RobotAPIRobotStateComponent ArmarXCoreTest)
 
 armarx_add_test(RobotStateTest RobotStateTest.cpp "${LIBS}")
-