made CMakeLists.txt a bit nicer (still need to do something about boost)

This commit is contained in:
Kjistóf 2016-11-12 10:54:49 +01:00
parent 3f2587c9e8
commit 347c0efb96

View File

@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.5)
project(thread_pool)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -pthread")
set(SOURCE_FILES
main.cpp)
set(SOURCE_FILES main.cpp)
add_executable(thread_pool ${SOURCE_FILES})