Skip to content

Commit 89ef364

Browse files
committed
Add qrcode to required components
1 parent d51d667 commit 89ef364

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,12 @@ if(NOT CONFIG_ARDUINO_SELECTIVE_COMPILATION OR CONFIG_ARDUINO_SELECTIVE_OpenThre
304304
endif()
305305
endif()
306306

307+
if(NOT CONFIG_ARDUINO_SELECTIVE_COMPILATION OR CONFIG_ARDUINO_SELECTIVE_WiFiProv OR CONFIG_ARDUINO_SELECTIVE_RainMaker)
308+
if(NOT IDF_TARGET STREQUAL "esp32c2")
309+
list(APPEND requires espressif__qrcode)
310+
endif()
311+
endif()
312+
307313
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})
308314

309315
if(NOT CONFIG_FREERTOS_HZ EQUAL 1000 AND NOT "$ENV{ARDUINO_SKIP_TICK_CHECK}")

0 commit comments

Comments
 (0)