gui/tests: Use common per-platform libs variable for dependencies

This commit is contained in:
Povilas Kanapickas 2021-01-10 13:49:54 +02:00
parent f1aab806af
commit 7f76d3cdcc

View File

@ -176,5 +176,5 @@ if (BARRIER_BUILD_TESTS)
add_test(guiunittests guiunittests) add_test(guiunittests guiunittests)
target_include_directories(guiunittests PUBLIC ../../ext) 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() endif()