diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-05 22:43:11 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-05 22:43:11 +0200 |
commit | 2561266c156a1f63ed85fe2865ac607507ae4cef (patch) | |
tree | 9fbc7cf5fb9a045e7bbf70ab07f9b5b4e518a782 /cmake/deps.cmake | |
parent | 5f898aa52f81671cbc54beea19211c8a75e0962f (diff) | |
download | fastd-2561266c156a1f63ed85fe2865ac607507ae4cef.tar fastd-2561266c156a1f63ed85fe2865ac607507ae4cef.zip |
Add status socket to get the current status as JSON
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) |