summaryrefslogtreecommitdiffstats
path: root/cmake/deps.cmake
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-18 17:24:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-18 17:24:06 +0200
commit50390abdeea337b67402107e67bfdaff3bafaa59 (patch)
treecf010b7187c2062b107fe86bbf16266d1ea156e7 /cmake/deps.cmake
parent1788de0cc13f4fe451ee6ae2e138533c0eea3dde (diff)
downloadfastd-50390abdeea337b67402107e67bfdaff3bafaa59.tar
fastd-50390abdeea337b67402107e67bfdaff3bafaa59.zip
Make CMake fail if json-c is required, but not found
Diffstat (limited to 'cmake/deps.cmake')
-rw-r--r--cmake/deps.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/deps.cmake b/cmake/deps.cmake
index 213b3d1..7f48854 100644
--- a/cmake/deps.cmake
+++ b/cmake/deps.cmake
@@ -61,7 +61,7 @@ else(WITH_CAPABILITIES)
endif(WITH_CAPABILITIES)
if(WITH_STATUS_SOCKET)
- pkg_check_modules(JSONC json-c)
+ pkg_check_modules(JSONC REQUIRED json-c)
else(WITH_STATUS_SOCKET)
set(JSONC_INCLUDE_DIRS "")
set(JSONC_CFLAGS_OTHER "")