From 02948f1675991bc58ffa2ceebb71fd0837a3586e Mon Sep 17 00:00:00 2001 From: Senthil Date: Wed, 3 Feb 2016 16:34:03 -0800 Subject: [PATCH] Link pthread with host --- src/corehost/cli/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corehost/cli/CMakeLists.txt b/src/corehost/cli/CMakeLists.txt index 5e2942c5c..9c22fc834 100644 --- a/src/corehost/cli/CMakeLists.txt +++ b/src/corehost/cli/CMakeLists.txt @@ -40,7 +40,7 @@ endif() if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") add_definitions(-D__LINUX__) - target_link_libraries (corehost "dl") + target_link_libraries (corehost "dl" "pthread") endif() add_subdirectory(dll)