C++11 enabled in CMakeLists.txt

This commit is contained in:
Samer Afach 2017-06-08 20:00:46 +02:00
parent 78c349e8f3
commit dc92fb2b3f
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set (CMAKE_CXX_STANDARD 11)
project(ThreadPool)
add_library(threadpool_lib "include/ThreadPool.cpp")