OVMS3-idf/components/jsmn/CMakeLists.txt
2019-11-29 18:05:24 +08:00

10 lines
305 B
CMake

idf_component_register(SRCS "src/jsmn.c"
INCLUDE_DIRS "include")
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()