2024-04-29 15:02:43 +08:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(stand_go2)
|
|
|
|
|
2024-09-03 21:08:21 +08:00
|
|
|
list(APPEND CMAKE_PREFIX_PATH "/opt/unitree_robotics/lib/cmake")
|
|
|
|
find_package(unitree_sdk2 REQUIRED)
|
2024-04-29 15:02:43 +08:00
|
|
|
|
|
|
|
add_executable(stand_go2 stand_go2.cpp)
|
2024-09-03 21:08:21 +08:00
|
|
|
target_link_libraries(stand_go2 unitree_sdk2)
|
2024-04-29 15:02:43 +08:00
|
|
|
|
|
|
|
SET(CMAKE_BUILD_TYPE Release)
|