xref: /freebsd/contrib/libcbor/CMakeModules/FindCJSON.cmake (revision 833a452e9f082a7982a31c21f0da437dbbe0a39d)
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