mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-03 19:49:09 +08:00
11 lines
247 B
CMake
11 lines
247 B
CMake
set(COMPONENT_SRCDIRS cJSON)
|
|
set(COMPONENT_ADD_INCLUDEDIRS cJSON)
|
|
|
|
set(COMPONENT_REQUIRES newlib)
|
|
|
|
register_component()
|
|
|
|
if(CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL)
|
|
target_compile_definitions(${COMPONENT_NAME} PRIVATE -D CJSON_SPRINTF_FLOAT=1)
|
|
endif()
|