diff --git a/third_party/openthread/CMakeLists.txt b/third_party/openthread/CMakeLists.txt index 8ea4516e4e7..eab6e7c6007 100644 --- a/third_party/openthread/CMakeLists.txt +++ b/third_party/openthread/CMakeLists.txt @@ -46,6 +46,7 @@ set(OT_COMMISSIONER ON CACHE STRING "enable commissioner") set(OT_DAEMON ON CACHE STRING "enable daemon mode" FORCE) set(OT_DATASET_UPDATER ON CACHE STRING "enable dataset updater" FORCE) set(OT_DNS_CLIENT ON CACHE STRING "enable DNS client" FORCE) +set(OT_DNS_CLIENT_OVER_TCP OFF CACHE STRING "disable DNS query over TCP") set(OT_DNS_UPSTREAM_QUERY ${OTBR_DNS_UPSTREAM_QUERY} CACHE STRING "enable sending DNS queries to upstream" FORCE) set(OT_DNSSD_SERVER ${OTBR_DNSSD_DISCOVERY_PROXY} CACHE STRING "enable DNS-SD server support" FORCE) set(OT_ECDSA ON CACHE STRING "enable ECDSA" FORCE) @@ -67,7 +68,7 @@ set(OT_SERVICE ON CACHE STRING "enable service" FORCE) set(OT_SLAAC ON CACHE STRING "enable SLAAC" FORCE) set(OT_SRP_CLIENT ON CACHE STRING "enable SRP client" FORCE) set(OT_TARGET_OPENWRT ${OTBR_OPENWRT} CACHE STRING "target on OpenWRT" FORCE) -set(OT_TCP OFF CACHE STRING "disable TCP" FORCE) +set(OT_TCP OFF CACHE STRING "disable TCP") set(OT_TREL ${OTBR_TREL} CACHE STRING "enable TREL" FORCE) set(OT_UDP_FORWARD OFF CACHE STRING "disable udp forward" FORCE) set(OT_UPTIME ON CACHE STRING "enable uptime" FORCE) @@ -105,7 +106,6 @@ target_compile_definitions(ot-config INTERFACE "-DOPENTHREAD_CONFIG_LOG_CLI=1" "-DOPENTHREAD_CONFIG_MAX_STATECHANGE_HANDLERS=3" "-DOPENTHREAD_CONFIG_MLE_STEERING_DATA_SET_OOB_ENABLE=1" - "-DOPENTHREAD_CONFIG_TCP_ENABLE=0" "-DOPENTHREAD_POSIX_CONFIG_FILE=\"${PROJECT_BINARY_DIR}/src/agent/openthread-otbr-posix-config.h\"" )