Subject: [PATCH] libcap without pkgconfig
From: José Bollo <[email-masked]>
Date: Tue, 30 Oct 2015 14:32:03 -0100

Handles libcap that isn't distributed for pkg-config

---
 src/client/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt
index 5399a55..0250ce2 100644
--- a/src/client/CMakeLists.txt
+++ b/src/client/CMakeLists.txt
@@ -1,7 +1,6 @@
 PKG_CHECK_MODULES(CLIENT_DEP
     REQUIRED
     libsmack
-    libcap
     )
 
 SET(CLIENT_VERSION_MAJOR 1)
@@ -37,6 +36,7 @@ SET_TARGET_PROPERTIES(${TARGET_CLIENT}
 TARGET_LINK_LIBRARIES(${TARGET_CLIENT}
     ${TARGET_COMMON}
     ${CLIENT_DEP_LIBRARIES}
+    cap
     )
 
 INSTALL(TARGETS ${TARGET_CLIENT} DESTINATION ${LIB_INSTALL_DIR})
-- 
2.1.4