From 19de084873453b3d23168cec7ee2ec25504d9032 Mon Sep 17 00:00:00 2001 From: Bian Zekun <568574579@qq.com> Date: Sat, 22 May 2021 14:58:43 +0800 Subject: [PATCH] fixed a CMake bug --- unitree_legged_real/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/unitree_legged_real/CMakeLists.txt b/unitree_legged_real/CMakeLists.txt index fd7ae2b..c34799e 100644 --- a/unitree_legged_real/CMakeLists.txt +++ b/unitree_legged_real/CMakeLists.txt @@ -34,25 +34,25 @@ set(CMAKE_CXX_FLAGS "-O3") add_executable(position_lcm src/exe/position_mode.cpp) target_link_libraries(position_lcm ${EXTRA_LIBS} ${catkin_LIBRARIES}) -add_dependencies(position_lcm ${${PEOJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +add_dependencies(position_lcm ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) add_executable(velocity_lcm src/exe/velocity_mode.cpp) target_link_libraries(velocity_lcm ${EXTRA_LIBS} ${catkin_LIBRARIES}) -add_dependencies(velocity_lcm ${${PEOJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +add_dependencies(velocity_lcm ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) add_executable(torque_lcm src/exe/torque_mode.cpp) target_link_libraries(torque_lcm ${EXTRA_LIBS} ${catkin_LIBRARIES}) -add_dependencies(torque_lcm ${${PEOJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +add_dependencies(torque_lcm ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) add_executable(walk_lcm src/exe/walk_mode.cpp) target_link_libraries(walk_lcm ${EXTRA_LIBS} ${catkin_LIBRARIES}) -add_dependencies(walk_lcm ${${PEOJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +add_dependencies(walk_lcm ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) add_executable(lcm_server_3_2 $ENV{UNITREE_LEGGED_SDK_PATH}/examples/lcm_server.cpp) target_link_libraries(lcm_server_3_2 ${EXTRA_LIBS} ${catkin_LIBRARIES}) -add_dependencies(lcm_server_3_2 ${${PEOJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +add_dependencies(lcm_server_3_2 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) add_executable(lcm_server_3_1 $ENV{ALIENGO_SDK_PATH}/examples/lcm_server.cpp) target_link_libraries(lcm_server_3_1 ${EXTRA_LIBS} ${catkin_LIBRARIES}) -add_dependencies(lcm_server_3_1 ${${PEOJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) \ No newline at end of file +add_dependencies(lcm_server_3_1 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) \ No newline at end of file