test-server-libev: disable Werror just on server-libev.c to workaround libev dirt
authorAndy Green <andy@warmcat.com>
Wed, 28 Jun 2017 03:35:50 +0000 (11:35 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 28 Jun 2017 03:37:15 +0000 (11:37 +0800)
CMakeLists.txt

index 69e6ac5..4a6f6cf 100644 (file)
@@ -1270,6 +1270,8 @@ if (NOT LWS_WITHOUT_TESTAPPS)
                                        ""
                                        ""
                                        "")
+                               # libev generates a big mess of warnings with gcc, maintainers blame gcc
+                               set_source_files_properties( test-server/test-server-libev.c PROPERTIES COMPILE_FLAGS "-Wno-error" )
                        endif()
                        if (NOT ((CMAKE_C_COMPILER_ID MATCHES "Clang") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
                                AND LWS_WITH_LIBUV)