From 5a37a8b593826c8f147fc46ad5975e89cd0b6aa8 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Tue, 14 Mar 2017 17:26:53 +0300 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 77259014..0fddb6e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,6 +88,9 @@ if (WIN32) add_definitions(-D_CRT_SECURE_NO_WARNINGS) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") + if (APPVEYOR) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0") + endif() endif() set(LIB_Ws2_32 Ws2_32)