diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 50920945..f06b1cfb 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -176,5 +176,5 @@ if (BARRIER_BUILD_TESTS) add_test(guiunittests guiunittests) target_include_directories(guiunittests PUBLIC ../../ext) - target_link_libraries(guiunittests gtest gmock Qt5::Core Qt5::Widgets Qt5::Network pthread) + target_link_libraries(guiunittests gtest gmock Qt5::Core Qt5::Widgets Qt5::Network ${libs}) endif()