diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index d4313604a..4e39f4261 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -11,9 +11,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(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS DNSSD) -endif() option(BLUETOOTH_ENABLED "Bluetooth support for kdeconnect" OFF) if(BLUETOOTH_ENABLED) @@ -86,7 +83,6 @@ endif() if (MDNS_ENABLED) target_compile_definitions(kdeconnectcore PRIVATE -DKDECONNECT_MDNS) - target_link_libraries(kdeconnectcore PRIVATE KF${QT_MAJOR_VERSION}::DNSSD) endif() set_target_properties(kdeconnectcore PROPERTIES