From: Seonah Moon Date: Wed, 16 Feb 2022 05:55:13 +0000 (+0900) Subject: Fix to expose openssl dependency X-Git-Tag: submit/tizen/20220216.061933^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7139fcafe4aed93a16183bf5fbdcf0de5e66b2f;p=platform%2Fupstream%2Flibwebsockets.git 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: Id3e3a5ea54bf2a083c30605fa6b24c318b9ec125 --- diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c55c6198..4913d6b3 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -311,6 +311,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} @@ -333,6 +334,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: