diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-10-20 20:14:41 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-10-20 20:14:41 +0200 |
commit | db8ae62fb64fa33657f598a62045f17fc779ef8b (patch) | |
tree | 26de2baf2506c6acd072770d220b77ecb3aed60c /cmake/FindJsonC.cmake | |
parent | a8038e640523a65ac347be9f674348ecc11ce356 (diff) | |
download | polecat-db8ae62fb64fa33657f598a62045f17fc779ef8b.tar.gz polecat-db8ae62fb64fa33657f598a62045f17fc779ef8b.zip |
properly include header directories, change how json-c is found
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 |