diff options
Diffstat (limited to 'cmake/FindJsonC.cmake')
-rw-r--r-- | cmake/FindJsonC.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindJsonC.cmake b/cmake/FindJsonC.cmake index 9dfcf4a..028bb2f 100644 --- a/cmake/FindJsonC.cmake +++ b/cmake/FindJsonC.cmake @@ -14,13 +14,13 @@ else() endif() find_path(JSONC_INC - NAMES json-c/json.h + NAMES json.h HINTS ENV jsoncPath${_lib_suffix} ENV jsoncPath ${_JSONC_INCLUDE_DIRS} PATHS - /usr/include /usr/local/include) + /usr/include/json-c /usr/local/include/json-c) find_library(JSONC_LIB NAMES ${_JSONC_LIBRARIES} jsonc json-c |