From cf87cdab8c0bf5af9179cf48a868158de10c2be9 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Mon, 17 Jul 2023 23:18:20 +0200 Subject: [PATCH] Do not link KDNSSD --- core/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) 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