Added C++11 standard requirement

This commit is contained in:
mandlm 2017-10-19 17:01:21 +02:00
parent 823ebbe42d
commit bbd03b56bb
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
project(Sniff)
cmake_minimum_required(VERSION 3.6)
set(CMAKE_CXX_STANDARD 11)
add_executable(${PROJECT_NAME}
sniff.cpp
)

View File

@ -1,6 +1,8 @@
project(sniffer)
cmake_minimum_required(VERSION 3.6)
set(CMAKE_CXX_STANDARD 11)
add_library(${PROJECT_NAME}
sniffer.cpp
sniffer.h