From 0424a8c94399c663af0690a7263f0464b3e77850 Mon Sep 17 00:00:00 2001 From: Wonki Kim Date: Thu, 22 Aug 2019 14:26:39 +0900 Subject: [PATCH] Fix to expose openssl dependency libwebsocket-dev doesn't expose openssl dependency by its .pc files, even if it is necessary to build properly. this patch fix them to expose it. Change-Id: If4e3f3a21759b9e3b23cc26386e428cc4c7d151c --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 933ed63..5ba8c1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1562,6 +1562,7 @@ includedir=\${prefix}/include Name: libwebsockets Description: Websockets server and client library Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH} +Requires: openssl1.1 Libs: -L\${libdir} -lwebsockets Cflags: -I\${includedir}" @@ -1579,6 +1580,7 @@ includedir=\${prefix}/include Name: libwebsockets_static Description: Websockets server and client static library Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH} +Requires: openssl1.1 Libs: -L\${libdir} -lwebsockets_static Libs.private: -- 2.7.4