Skip to content

Commit 25157fd

Browse files
committed
Merge branch 'chore/add_cmake_script_for_mqtt' into 'master'
feat(mqtt): Add cmake script See merge request sdk/ESP8266_RTOS_SDK!129
2 parents a6e1f77 + 679aec0 commit 25157fd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/mqtt/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
set(COMPONENT_SRCDIRS source/library source/platform)
2+
set(COMPONENT_ADD_INCLUDEDIRS include include/mqtt)
3+
4+
set(COMPONENT_REQUIRES freertos lwip ssl)
5+
6+
register_component()
7+
8+
target_compile_options(${COMPONENT_NAME} PUBLIC -DMQTT_TASK)

0 commit comments

Comments
 (0)