File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -500,6 +500,7 @@ endif()
500500if (
501501 NOT BUILD_STANDALONE_PYTHON_INTERFACE
502502 AND (BUILD_EXAMPLES OR BUILD_BENCHMARKS)
503+ AND BUILD_WITH_PINOCCHIO_SUPPORT
503504)
504505 add_library (
505506 talos_walk_utils
Original file line number Diff line number Diff line change @@ -21,15 +21,12 @@ function(create_bench exfile)
2121 target_include_directories (${_exname} PRIVATE ../examples)
2222endfunction ()
2323
24- function (create_gar_bench exfile)
25- create_bench(${exfile} DEPENDENCIES gar_test_utils)
26- endfunction ()
27-
2824create_bench(lqr.cpp)
29- create_bench(se2-car.cpp)
30- create_bench(talos-walk.cpp DEPENDENCIES talos_walk_utils)
25+ create_bench(gar-riccati.cpp DEPENDENCIES gar_test_utils)
26+ if (BUILD_WITH_PINOCCHIO_SUPPORT)
27+ create_bench(se2-car.cpp)
28+ create_bench(talos-walk.cpp DEPENDENCIES talos_walk_utils)
29+ endif ()
3130if (BUILD_CROCODDYL_COMPAT)
3231 create_bench(croc-talos-arm.cpp CROC)
3332endif ()
34-
35- create_gar_bench(gar-riccati.cpp)
Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ endfunction()
2323
2424if (NOT BUILD_STANDALONE_PYTHON_INTERFACE)
2525 create_example(clqr.cpp)
26- create_example(talos-walk.cpp DEPENDENCIES talos_walk_utils)
27- create_example(se2-car.cpp)
26+ if (BUILD_WITH_PINOCCHIO_SUPPORT)
27+ create_example(talos-walk.cpp DEPENDENCIES talos_walk_utils)
28+ create_example(se2-car.cpp)
29+ endif ()
2830
2931 if (BUILD_CROCODDYL_COMPAT)
3032 ADD_PROJECT_PRIVATE_DEPENDENCY(example-robot-data 4.0.9 REQUIRED)
You can’t perform that action at this time.
0 commit comments