From fa15edf2eac3ee60db418726f364d331112ca90d Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Thu, 18 Aug 2016 23:50:53 +0300 Subject: [PATCH] Linux build --- profiler_gui/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/profiler_gui/CMakeLists.txt b/profiler_gui/CMakeLists.txt index eb7fe3a..30a2a8f 100644 --- a/profiler_gui/CMakeLists.txt +++ b/profiler_gui/CMakeLists.txt @@ -32,4 +32,8 @@ add_executable(${PROJECT_NAME} #treeitem.cpp ) -target_link_libraries(${PROJECT_NAME} Qt5::Widgets easy_profiler) +if(UNIX) + set(SPECIAL_LIB pthread) +endif(UNIX) + +target_link_libraries(${PROJECT_NAME} Qt5::Widgets easy_profiler ${SPECIAL_LIB})