Fix to expose openssl dependency 95/217495/1 tizen_5.5 submit/tizen_5.5/20191112.153452
authorCheoleun Moon <chleun.moon@samsung.com>
Tue, 12 Nov 2019 15:28:44 +0000 (00:28 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Tue, 12 Nov 2019 15:28:55 +0000 (00:28 +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: Ic370ab8a501e83306227ff2556b08b8000263d9f
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
CMakeLists.txt

index 933ed63..e6da220 100644 (file)
@@ -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: