From 50390abdeea337b67402107e67bfdaff3bafaa59 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 18 Sep 2014 17:24:06 +0200 Subject: Make CMake fail if json-c is required, but not found --- cmake/deps.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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 "") -- cgit v1.2.3