Fix to expose openssl dependency 53/271153/1 submit/tizen/20220216.061933
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 16 Feb 2022 05:55:13 +0000 (14:55 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 16 Feb 2022 05:55:17 +0000 (14:55 +0900)
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

lib/CMakeLists.txt

index c55c6198514a504821fffb7552cd3b6b5fb721d7..4913d6b382fa1aef8b1dde343fcb94e57d26fa67 100644 (file)
@@ -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: