修正三方库
This commit is contained in:
parent
53f104fff0
commit
4e62bf4e66
@ -11,6 +11,8 @@ find_package(rclcpp REQUIRED)
|
||||
find_package(sweeper_interfaces REQUIRED)
|
||||
find_package(ament_index_cpp REQUIRED)
|
||||
|
||||
|
||||
|
||||
# ======== MQTT libs ========
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
|
||||
message(STATUS "[MQTT] using x86 static Paho")
|
||||
@ -42,6 +44,14 @@ target_include_directories(remote_ctrl_node
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/paho_mqtt_3c
|
||||
)
|
||||
|
||||
target_link_libraries(remote_ctrl_node
|
||||
${PAHO_LIB}
|
||||
pthread
|
||||
dl
|
||||
ssl
|
||||
crypto
|
||||
)
|
||||
|
||||
ament_target_dependencies(remote_ctrl_node
|
||||
rclcpp
|
||||
sweeper_interfaces
|
||||
|
||||
Loading…
Reference in New Issue
Block a user