From d7c51ac004dc517e6c8b08ef53e7cb9b5510d0e8 Mon Sep 17 00:00:00 2001 From: Sucan126 <632190820@qq.com> Date: Mon, 22 Sep 2025 15:53:11 +0800 Subject: [PATCH] refactor(CMake): Add include directory for unitree SDK - Included the path for unitree SDK in the CMake configuration to ensure proper access to necessary headers. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1756380..a1b5f9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,8 @@ find_package(unitree_sdk2 REQUIRED) # Include directories include_directories( + include + /usr/local/include/unitree/ ${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include/nlohmann $<$>:${PAHO_MQTT_C_INCLUDE_DIR}>