include_directories ( ${CMAKE_SOURCE_DIR}/src/settings ) include(ECMAddTests) find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Test) set_package_properties(Qt6Test PROPERTIES PURPOSE "Required for autotests") ecm_add_test(managertest.cpp LINK_LIBRARIES Qt6::Test KF6NetworkManagerQt_static PkgConfig::NetworkManager fakeNetwork) ecm_add_test(settingstest.cpp LINK_LIBRARIES Qt6::Test KF6NetworkManagerQt_static PkgConfig::NetworkManager fakeNetwork) ecm_add_test(activeconnectiontest.cpp LINK_LIBRARIES Qt6::Test KF6NetworkManagerQt_static PkgConfig::NetworkManager fakeNetwork) add_subdirectory(settings)