From 0e9b75a0a9df943786a12c202193605d44410677 Mon Sep 17 00:00:00 2001 From: Zofia Abramowska Date: Thu, 17 Nov 2016 17:55:43 +0100 Subject: [PATCH] Fix pthread linkage Usage of std::thread requires linking with pthread. Change-Id: I1af16fb35b4356ecf005349c578d95a411e1001d --- src/agent/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agent/CMakeLists.txt b/src/agent/CMakeLists.txt index 7280ca8..507b2f5 100644 --- a/src/agent/CMakeLists.txt +++ b/src/agent/CMakeLists.txt @@ -49,6 +49,7 @@ TARGET_LINK_LIBRARIES(${TARGET_ASKUSER} ${AGENT_DEP_LIBRARIES} ${ASKUSER_DEP_LIBRARIES} ${TARGET_ASKUSER_COMMON} + "-pthread" "-pie" ) -- 2.7.4