From: Zofia Abramowska Date: Thu, 17 Nov 2016 16:55:43 +0000 (+0100) Subject: Fix pthread linkage X-Git-Tag: accepted/tizen/3.0/common/20161206.125312~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e9b75a0a9df943786a12c202193605d44410677;p=platform%2Fcore%2Fsecurity%2Faskuser.git Fix pthread linkage Usage of std::thread requires linking with pthread. Change-Id: I1af16fb35b4356ecf005349c578d95a411e1001d --- 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" )