Upgrade to 3.2.0
[platform/upstream/libwebsockets.git] / CMakeLists.txt
index d214d77..491531a 100644 (file)
@@ -1360,8 +1360,6 @@ endif()
 if (LWS_WITH_LIBEV AND LWS_WITH_NETWORK)
        list(APPEND SOURCES
                lib/event-libs/libev/libev.c)
-       # libev generates a big mess of warnings with gcc, maintainer claims gcc to blame
-       set_source_files_properties( lib/event-libs/libev/libev.c PROPERTIES COMPILE_FLAGS "-Wno-error" )
 endif()
 
 if (LWS_WITH_LEJP)
@@ -2116,6 +2114,12 @@ if ((LWS_ROLE_H1 OR LWS_ROLE_H2) AND NOT LWS_WITHOUT_TESTAPPS)
                endif()
        endif()
 
+       if (LWS_WITH_LIBEV)
+               # libev generates a big mess of warnings with gcc, maintainer claims gcc to blame
+               set_source_files_properties( lib/event-libs/libev/libev.c PROPERTIES COMPILE_FLAGS "-Wno-error" )
+       endif()
+
+
        if (NOT LWS_WITHOUT_SERVER)
                #
                # test-server
@@ -2429,6 +2433,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}"
@@ -2446,6 +2451,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: