From 53f104fff0c9e02730d95103460f228b9f65a4c9 Mon Sep 17 00:00:00 2001 From: lyq Date: Tue, 30 Dec 2025 11:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3paho=E5=BA=93=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/remote_ctrl/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/remote_ctrl/CMakeLists.txt b/src/remote_ctrl/CMakeLists.txt index f44afb0..331443a 100644 --- a/src/remote_ctrl/CMakeLists.txt +++ b/src/remote_ctrl/CMakeLists.txt @@ -30,15 +30,13 @@ add_executable(remote_ctrl_node src/config.cpp ) +target_compile_options(remote_ctrl_node PRIVATE -Wno-pedantic) + target_include_directories(remote_ctrl_node PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include ) -target_link_libraries(remote_ctrl_node - ${PAHO_LIB} -) - target_include_directories(remote_ctrl_node SYSTEM PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include/paho_mqtt_3c