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:
@@ -18,8 +18,6 @@ if(NOT PahoMqttC_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(unitree_sdk2 REQUIRED)
|
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
|
||||||
include_directories(
|
include_directories(
|
||||||
@@ -28,7 +26,7 @@ include_directories(
|
|||||||
$<$<NOT:$<BOOL:${PahoMqttC_FOUND}>>:${PAHO_MQTT_C_INCLUDE_DIR}>
|
$<$<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
|
# Source files
|
||||||
set(SOURCES
|
set(SOURCES
|
||||||
|
|||||||
Reference in New Issue
Block a user