From b152801edbb7e95b83375d2e0460d6b1206c999f Mon Sep 17 00:00:00 2001 From: Cheoleun Moon Date: Wed, 13 Nov 2019 00:28:44 +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: Ic370ab8a501e83306227ff2556b08b8000263d9f Signed-off-by: Cheoleun Moon --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 933ed63..e6da220 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: openssl 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: openssl Libs: -L\${libdir} -lwebsockets_static Libs.private: -- 2.7.4