260301155f
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
15 lines
419 B
CMake
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})
|