aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2015-05-28 08:31:12 +0800
committerAndy Green <andy.green@linaro.org>2015-05-28 08:31:12 +0800
commitb273dcd4a8ef3dda29b18a911e7220d1e41a4a39 (patch)
tree4ec6279b472ae7ffa5060d56dcad32175139aa65
parent104e1bcd69910c50bad44f98b3c952bd5f1e7316 (diff)
pthreads
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f6c5709..5b60475 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 2.8)
include(FindPkgConfig)
include(GNUInstallDirs)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ")
SET(CMAKE_INSTALL_PREFIX "./install")
add_definitions(-DMTP_DEVICE -DMTP_HOST)
@@ -71,6 +71,7 @@ add_library(
target_link_libraries(
mtpserver
${GLOG_LIBRARIES}
+ pthread
)
set_target_properties(