From dc92fb2b3f94e953626e7c47423832cfacbaa25b Mon Sep 17 00:00:00 2001 From: Samer Afach Date: Thu, 8 Jun 2017 20:00:46 +0200 Subject: [PATCH] C++11 enabled in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f18fe15..0d8fc8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")