diff options
Diffstat (limited to 'cmake/deps.cmake')
-rw-r--r-- | cmake/deps.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/deps.cmake b/cmake/deps.cmake index ea5a0a0..213b3d1 100644 --- a/cmake/deps.cmake +++ b/cmake/deps.cmake @@ -59,3 +59,13 @@ else(WITH_CAPABILITIES) set(CAP_INCLUDE_DIR "") set(CAP_LIBRARY "") endif(WITH_CAPABILITIES) + +if(WITH_STATUS_SOCKET) + pkg_check_modules(JSONC json-c) +else(WITH_STATUS_SOCKET) + set(JSONC_INCLUDE_DIRS "") + set(JSONC_CFLAGS_OTHER "") + set(JSONC_LIBRARY_DIRS "") + set(JSONC_LIBRARIES "") + set(JSONC_LDFLAGS_OTHER "") +endif(WITH_STATUS_SOCKET) |