Added C++11 standard requirement
parent
823ebbe42d
commit
bbd03b56bb
|
@ -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 New Issue