From 24ca72698e134cab4aad2b7383464f076928128b Mon Sep 17 00:00:00 2001
From: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Date: Wed, 13 Mar 2013 17:41:07 +0100
Subject: [PATCH] rostest: add catkin devel space the CMAKE_FIND_ROOT_PATH

Rostest depends on its own package and therefore needs to search
in the devel space for the rostestConfig.cmake during native
build.

| CMake Error at /.../usr/share/catkin/cmake/find_program_required.cmake:5 (message):
|   rostest not found
|

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
---
 recipes-ros/ros-comm/rostest_1.9.41.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-ros/ros-comm/rostest_1.9.41.bb b/recipes-ros/ros-comm/rostest_1.9.41.bb
index baf723a..38f77b2 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"
-- 
GitLab