From 612e650efcaa368624fb445a54530812087b320f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Mon, 5 Dec 2016 15:16:53 +0100 Subject: [PATCH] added a compiler flag to silence switch warning -- it's intentional --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d851b2..08dd31f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.6) project(cpp11NHF2_chat) set(CMAKE_CXX_STANDARD 14) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -pthread") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -pthread -Wno-switch") find_package(Boost COMPONENTS system REQUIRED) include_directories(${Boost_INCLUDE_DIR})