mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
1cb5712463
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their requirements.
16 lines
351 B
CMake
16 lines
351 B
CMake
set(COMPONENT_ADD_INCLUDEDIRS port/include include/expat)
|
|
set(COMPONENT_SRCDIRS library port)
|
|
|
|
set(COMPONENT_REQUIRES)
|
|
|
|
register_component()
|
|
|
|
component_compile_definitions(HAVE_EXPAT_CONFIG_H)
|
|
|
|
# patch around warnings in third-party files
|
|
set_source_files_properties(
|
|
library/xmlparse.c
|
|
PROPERTIES COMPILE_FLAGS
|
|
-Wno-unused-function
|
|
)
|