C++11 enabled in CMakeLists.txt
This commit is contained in:
parent
78c349e8f3
commit
dc92fb2b3f
@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
set (CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
project(ThreadPool)
|
project(ThreadPool)
|
||||||
add_library(threadpool_lib "include/ThreadPool.cpp")
|
add_library(threadpool_lib "include/ThreadPool.cpp")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user