From 41221076da76411d611dcef35df5be8ed1797fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sun, 4 Dec 2016 17:52:13 +0100 Subject: [PATCH] added missing -pthread compiler flag --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da0ed46..56dd9d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.6) project(cpp11NHF2_chat) set(CMAKE_CXX_STANDARD 14) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -pthread") find_package(Boost COMPONENTS system REQUIRED) include_directories(${Boost_INCLUDE_DIR}) set(SOURCE_FILES commandline_chat.cpp chat_messages.hpp chat_networking.hpp) add_executable(cpp11NHF2_chat ${SOURCE_FILES}) -target_link_libraries(cpp11NHF2_chat ${Boost_LIBRARIES}) \ No newline at end of file +target_link_libraries(cpp11NHF2_chat ${Boost_LIBRARIES})