Skip to content

Commit

Permalink
cleaning up the cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Zolkin1 committed Jan 26, 2025
1 parent 34ca842 commit e7a9a64
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions obelisk/cpp/zoo/hardware/robots/unitree/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@ FetchContent_MakeAvailable(unitree_sdk)

add_library(UnitreeInterface INTERFACE)
target_include_directories(UnitreeInterface INTERFACE .)
# target_link_libraries(UnitreeInterface INTERFACE dynamixel_sdk)

target_link_libraries(UnitreeInterface INTERFACE Obelisk::Core unitree_sdk2)

# ament_target_dependencies(UnitreeInterface INTERFACE
# rclcpp
# rclcpp_lifecycle
# sensor_msgs)
ament_target_dependencies(UnitreeInterface INTERFACE
rclcpp
rclcpp_lifecycle
sensor_msgs)


add_executable(unitree_test unitree_test.cpp)
target_link_libraries(unitree_test unitree_sdk2)
# add_executable(unitree_test unitree_test.cpp)
# target_link_libraries(unitree_test unitree_sdk2)

# TODO:
# - Run without Pixi
Expand Down

0 comments on commit e7a9a64

Please sign in to comment.