Added C++11 standard requirement
This commit is contained in:
parent
823ebbe42d
commit
bbd03b56bb
2 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
project(Sniff)
|
||||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
sniff.cpp
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue