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)
|
project(Sniff)
|
||||||
cmake_minimum_required(VERSION 3.6)
|
cmake_minimum_required(VERSION 3.6)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME}
|
add_executable(${PROJECT_NAME}
|
||||||
sniff.cpp
|
sniff.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
project(sniffer)
|
project(sniffer)
|
||||||
cmake_minimum_required(VERSION 3.6)
|
cmake_minimum_required(VERSION 3.6)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
add_library(${PROJECT_NAME}
|
add_library(${PROJECT_NAME}
|
||||||
sniffer.cpp
|
sniffer.cpp
|
||||||
sniffer.h
|
sniffer.h
|
||||||
|
|
Loading…
Reference in a new issue