added a compiler flag to silence switch warning -- it's intentional
This commit is contained in:
parent
253929fa79
commit
612e650efc
@ -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})
|
||||||
|
Loading…
Reference in New Issue
Block a user