mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 10:17:30 +02:00
fix(common): Improve linux port
This commit is contained in:
@ -2,9 +2,3 @@ idf_component_register(SRCS "app_main.cpp"
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
||||
if(${IDF_TARGET} STREQUAL "linux")
|
||||
if(WITH_LWIP STREQUAL "1")
|
||||
target_compile_definitions(${COMPONENT_LIB} PUBLIC WITH_LWIP)
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user