From: Russell Bryant <rbryant(a)redhat.com>
libcurl is required so add a check for it with cmake.
Signed-off-by: Russell Bryant <rbryant(a)redhat.com>
---
src/CMakeLists.txt | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7fc3eeb..b4f0d22 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -90,6 +90,9 @@ include_directories(${glib_INCLUDE_DIRS})
SET(CMAKE_REQUIRED_LIBRARIES ${glib_LIBRARIES})
check_function_exists (g_list_free_full HAVE_G_LIST_FREE_FULL)
+# cURL
+find_library(CURL curl)
+
# Include QMF and DBus generation macros
include(MatahariMacros)
--
1.7.6