From dd4a62a520475e5bc75d11c79c2d490e089f19ac Mon Sep 17 00:00:00 2001 From: Valenza Florian <fvalenza@laas.fr> Date: Tue, 26 Jul 2016 15:59:15 +0200 Subject: [PATCH] [Unittest] Fix compilation error with/out hpp --- unittest/geom.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittest/geom.cpp b/unittest/geom.cpp index 67934c241..09c8a545c 100644 --- a/unittest/geom.cpp +++ b/unittest/geom.cpp @@ -238,6 +238,7 @@ BOOST_AUTO_TEST_CASE (radius) se3::computeBodyRadius(model, geom, geomData); BOOST_FOREACH( double radius, geomData.radius) BOOST_CHECK(radius>=0.); +#ifdef WITH_HPP_MODEL_URDF /// ************* HPP ************* /// /// ********************************* /// using hpp::model::JointVector_t; @@ -271,7 +272,7 @@ BOOST_AUTO_TEST_CASE (radius) } } - +#endif // WITH_HPP_MODEL_URDF } #endif // if defined(WITH_URDFDOM) && defined(WITH_HPP_FCL) -- GitLab