From ef57e9b8a466ac2d9f65b3aedd94127c33b54ac3 Mon Sep 17 00:00:00 2001 From: Sucan126 <632190820@qq.com> Date: Mon, 22 Sep 2025 15:33:00 +0800 Subject: [PATCH] refactor(CMake): Rename project and update include directories - Changed project name from 'unitree_go2_custom' to 'lzwc_go2'. - Added include directory for 'unitree_sdk2' to the main target. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a5625d..caddb29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(unitree_go2_custom VERSION 1.0.0) +project(lzwc_go2 VERSION 1.0.0) # Set C++ standard set(CMAKE_CXX_STANDARD 17) @@ -26,6 +26,8 @@ include_directories( $<$>:${PAHO_MQTT_C_INCLUDE_DIR}> ) +target_include_directories(main PRIVATE ${unitree_sdk2_INCLUDE_DIRS}) + # Source files set(SOURCES src/main.cpp