From: Wonki Kim Date: Thu, 22 Aug 2019 05:26:39 +0000 (+0900) Subject: Fix to expose openssl dependency X-Git-Tag: accepted/tizen/5.5/unified/20191031.011842^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibwebsockets.git;a=commitdiff_plain;h=0424a8c94399c663af0690a7263f0464b3e77850 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 --- 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: