Skip to content
Snippets Groups Projects
Commit c8a73890 authored by Alejandro Alvarez Ayllon's avatar Alejandro Alvarez Ayllon
Browse files

Add FindJSONC.cmake

parent cf5a2581
No related branches found
No related tags found
No related merge requests found
# Find json-c
find_library(JSONC_LIBRARIES
NAMES json-c json
HINTS /lib /lib64 /usr/lib /usr/lib64
DOC "json-c library"
)
find_path(JSONC_INCLUDE_DIRS
NAMES json.h
HINTS /usr/include/json /usr/include/json-c
DOC "json-c headers"
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(json-c
DEFAULT_MSG JSONC_LIBRARIES JSONC_INCLUDE_DIRS
)
mark_as_advanced(JSONC_INCLUDE_DIRS JSONC_LIBRARIES)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment