Skip to content
Snippets Groups Projects
Commit 7b779a03 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Fix test compilation of test.

  Add test-constraingraph only if dependency to hpp-model-urdf is triggered.
parent eff0d73b
No related branches found
No related tags found
No related merge requests found
...@@ -47,8 +47,8 @@ MACRO(ADD_TESTCASE NAME GENERATED) ...@@ -47,8 +47,8 @@ MACRO(ADD_TESTCASE NAME GENERATED)
ENDMACRO(ADD_TESTCASE) ENDMACRO(ADD_TESTCASE)
ADD_TESTCASE (test-constraintgraph FALSE)
IF (TEST_UR5) IF (TEST_UR5)
ADD_TESTCASE (test-constraintgraph FALSE)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_UR5") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_UR5")
PKG_CONFIG_USE_DEPENDENCY(test-constraintgraph hpp-model-urdf) PKG_CONFIG_USE_DEPENDENCY(test-constraintgraph hpp-model-urdf)
ENDIF () ENDIF ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment