diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index dfb920982..8c0856994 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -19,9 +19,6 @@ add_subdirectory(backends/lan) add_subdirectory(backends/loopback) option(MDNS_ENABLED "Use MDNS for device discovery (under development)" OFF) -if (MDNS_ENABLED) - find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS DNSSD) -endif() option(BLUETOOTH_ENABLED "Bluetooth support for kdeconnect" OFF) if(BLUETOOTH_ENABLED) @@ -89,7 +86,6 @@ endif() if (MDNS_ENABLED) target_compile_definitions(kdeconnectcore PRIVATE -DKDECONNECT_MDNS) - target_link_libraries(kdeconnectcore PRIVATE KF5::DNSSD) endif() set_target_properties(kdeconnectcore PROPERTIES