From: Cheoleun Moon Date: Tue, 12 Nov 2019 15:28:44 +0000 (+0900) Subject: Fix to expose openssl dependency X-Git-Tag: submit/tizen_5.5/20191112.153452^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibwebsockets.git;a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.5 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 --- 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: