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.
This commit is contained in:
2025-09-22 15:40:25 +08:00
parent a058f3c2c9
commit 317b375bad

View File

@@ -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(
$<$<NOT:$<BOOL:${PahoMqttC_FOUND}>>:${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