esp-idf/components/jsmn/CMakeLists.txt

11 lines
305 B
CMake
Raw Normal View History

idf_component_register(SRCS "src/jsmn.c"
INCLUDE_DIRS "include")
2019-11-29 05:05:24 -05:00
if(CONFIG_JSMN_PARENT_LINKS)
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DJSMN_PARENT_LINKS")
endif()
if(CONFIG_JSMN_STRICT)
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DJSMN_STRICT")
endif()