xref: /freebsd/contrib/libcbor/CMakeModules/FindCJSON.cmake (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1include (LibFindMacros)
2
3find_path(CJSON_INCLUDE_DIR NAMES cjson/cJSON.h)
4find_library(CJSON_LIBRARY NAMES cjson)
5
6set(CJSON_PROCESS_INCLUDES CJSON_INCLUDE_DIR)
7set(CJSON_PROCESS_LIBS CJSON_LIBRARY)
8
9libfind_process(CJSON)
10