kdeconnect-kde/tests/CMakeLists.txt
Heiko Becker 260301155f Use co-installable qca-qt5 version
If both qt4 and qt5 versions of qca are present the build of the
frameworks branch tries to find Qt4 pulled in by qca and thus fails.

REVIEW: 122054
2015-01-15 21:35:30 -08:00

15 lines
419 B
CMake

include_directories(
${KDEConnectCore_BINARY_DIR}
${CMAKE_SOURCE_DIR}
)
set(kdeconnect_libraries
KF5::KIOWidgets
Qt5::Network
Qt5::Test
kdeconnectcore
qca-qt5
)
ecm_add_test(networkpackagetests.cpp LINK_LIBRARIES ${kdeconnect_libraries})
ecm_add_test(testsocketlinereader.cpp ../core/backends/lan/socketlinereader.cpp TEST_NAME testsocketlinereader LINK_LIBRARIES ${kdeconnect_libraries})