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)