diff --git a/recipes-ros/ros-comm/rostest_1.9.41.bb b/recipes-ros/ros-comm/rostest_1.9.41.bb
index baf723ab57ec3186dea58ac53794774e6ba47fc0..38f77b29d3e0d287ea844c04cf5a988f4473babf 100644
--- a/recipes-ros/ros-comm/rostest_1.9.41.bb
+++ b/recipes-ros/ros-comm/rostest_1.9.41.bb
@@ -8,3 +8,5 @@ DEPENDS = "boost rosunit-native"
 require ros-comm.inc
 
 S = "${WORKDIR}/ros_comm-${PV}/tools/${BPN}"
+
+OECMAKE_EXTRA_ROOT_PATH_class-native = "${OECMAKE_BUILDPATH}/devel"