added a compiler flag to silence switch warning -- it's intentional

This commit is contained in:
Kjistóf 2016-12-05 15:16:53 +01:00
parent 253929fa79
commit 612e650efc

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.6)
project(cpp11NHF2_chat) project(cpp11NHF2_chat)
set(CMAKE_CXX_STANDARD 14) 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) find_package(Boost COMPONENTS system REQUIRED)
include_directories(${Boost_INCLUDE_DIR}) include_directories(${Boost_INCLUDE_DIR})