From 317b375baddf5ae9299683b4758bc9c1100f3cda Mon Sep 17 00:00:00 2001 From: Sucan126 <632190820@qq.com> Date: Mon, 22 Sep 2025 15:40:25 +0800 Subject: [PATCH] refactor(CMake): Remove debug messages and update include directories - Removed status messages for unitree_sdk2 include directories and libraries from the CMake configuration. - Updated the target include directories for the main target to use a hardcoded path instead of the variable. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3b7853..163423f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,8 +18,6 @@ if(NOT PahoMqttC_FOUND) endif() find_package(unitree_sdk2 REQUIRED) -message(STATUS "unitree_sdk2_INCLUDE_DIRS: ${unitree_sdk2_INCLUDE_DIRS}") -message(STATUS "unitree_sdk2_LIBRARIES: ${unitree_sdk2_LIBRARIES}") # Include directories include_directories( @@ -28,7 +26,7 @@ include_directories( $<$>:${PAHO_MQTT_C_INCLUDE_DIR}> ) -target_include_directories(main PRIVATE ${unitree_sdk2_INCLUDE_DIRS}) +target_include_directories(main PRIVATE /usr/local/include) # Source files set(SOURCES