From 30a6af515d04af106853b42216c7c9c945787502 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 8 Feb 2015 18:31:20 +0100
Subject: Make sure to link with libcrypto
Archlinux seems to have removed -lcrypto from libssl.pc.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9cb75f8..2dda7cf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,7 +23,7 @@ set (project_VERSION "${project_VERSION}.${project_VERSION_PATCH}")
find_package (Curses)
find_package (PkgConfig REQUIRED)
pkg_check_modules (jansson REQUIRED jansson)
-pkg_check_modules (libssl REQUIRED libssl)
+pkg_check_modules (libssl REQUIRED libssl libcrypto)
pkg_check_modules (ncursesw ncursesw)
if (ncursesw_FOUND)
--
cgit v1.2.3-70-g09d2