Make sure to link with libcrypto

Archlinux seems to have removed -lcrypto from libssl.pc.
This commit is contained in:
Přemysl Eric Janouch 2015-02-08 18:31:20 +01:00
parent f3c5bad858
commit 30a6af515d
1 changed files with 1 additions and 1 deletions

View File

@ -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)