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