Fixes with new optional dependencies
This commit is contained in:
@ -6,15 +6,21 @@ set(sources
|
|||||||
src/asynchttprequest.cpp
|
src/asynchttprequest.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
idf_component_register(INCLUDE_DIRS
|
set(dependencies
|
||||||
src
|
cpputils
|
||||||
SRCS
|
espchrono
|
||||||
${headers}
|
espcpputils
|
||||||
${sources}
|
esp_http_client
|
||||||
REQUIRES
|
)
|
||||||
cpputils
|
|
||||||
espchrono
|
idf_component_register(
|
||||||
espcpputils
|
INCLUDE_DIRS
|
||||||
|
src
|
||||||
|
SRCS
|
||||||
|
${headers}
|
||||||
|
${sources}
|
||||||
|
REQUIRES
|
||||||
|
${dependencies}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_options(${COMPONENT_TARGET} PRIVATE -Wno-unused-function -Wno-deprecated-declarations -Wno-missing-field-initializers)
|
target_compile_options(${COMPONENT_TARGET} PRIVATE -Wno-unused-function -Wno-deprecated-declarations -Wno-missing-field-initializers)
|
||||||
|
Reference in New Issue
Block a user