From ae20bb5fa7e4b14745ca56b329541dcef88c48e5 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Thu, 14 Apr 2016 16:35:51 -0700 Subject: [PATCH] add pthread link dependency to interfac for UNIX --- interface/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 2e50502840..fcade5980c 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -211,6 +211,10 @@ if (WIN32) add_paths_to_fixup_libs(${Qt5_DIR}/../../../plugins/qtwebengine) endif() +if (UNIX) + target_link_libraries(${TARGET_NAME} pthread) +endif(UNIX) + # assume we are using a Qt build without bearer management add_definitions(-DQT_NO_BEARERMANAGEMENT)