From 6cce87e4652bb690ac230dfacd8111e6d4dd0029 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 19 Dec 2024 16:33:48 +0100 Subject: [PATCH] fix(mosq): Fix dependency issues moving esp-tls to public deps Since esp-tls structs are using in public header files --- components/mosquitto/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/mosquitto/CMakeLists.txt b/components/mosquitto/CMakeLists.txt index 1db843ec1..47e5d551d 100644 --- a/components/mosquitto/CMakeLists.txt +++ b/components/mosquitto/CMakeLists.txt @@ -81,7 +81,8 @@ idf_component_register(SRCS ${m_srcs} PRIV_INCLUDE_DIRS port/priv_include port/priv_include/sys ${m_dir} ${m_src_dir} ${m_incl_dir} ${m_lib_dir} ${m_deps_dir} INCLUDE_DIRS ${m_incl_dir} port/include - PRIV_REQUIRES newlib esp-tls + REQUIRES esp-tls + PRIV_REQUIRES newlib ) target_compile_definitions(${COMPONENT_LIB} PRIVATE "WITH_BROKER")