diff options
author | Andy Green <andy.green@linaro.org> | 2015-05-28 08:31:12 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2015-05-28 08:31:12 +0800 |
commit | b273dcd4a8ef3dda29b18a911e7220d1e41a4a39 (patch) | |
tree | 4ec6279b472ae7ffa5060d56dcad32175139aa65 | |
parent | 104e1bcd69910c50bad44f98b3c952bd5f1e7316 (diff) |
pthreads
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | CMakeLists.txt | 3 |
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( |