2013-09-01 21:13:03 +01:00
|
|
|
include_directories(
|
|
|
|
${QJSON_INCLUDE_DIR}
|
|
|
|
${QCA2_INCLUDE_DIR}
|
2014-06-14 13:31:31 +01:00
|
|
|
${KDEConnectCore_BINARY_DIR}
|
2014-06-14 14:22:40 +01:00
|
|
|
${CMAKE_SOURCE_DIR}
|
2013-09-01 21:13:03 +01:00
|
|
|
)
|
|
|
|
|
2013-09-02 02:23:34 +01:00
|
|
|
set(kdeconnect_libraries
|
2014-06-16 19:02:07 +01:00
|
|
|
KF5::KIOWidgets
|
|
|
|
Qt5::Network
|
2013-09-01 21:13:03 +01:00
|
|
|
${QJSON_LIBRARIES}
|
|
|
|
${QCA2_LIBRARIES}
|
2014-06-16 19:02:07 +01:00
|
|
|
Qt5::Test
|
2014-06-14 13:31:31 +01:00
|
|
|
kdeconnectcore
|
2013-09-01 21:13:03 +01:00
|
|
|
)
|
2013-09-02 02:23:34 +01:00
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
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})
|