Do not link KDNSSD
This commit is contained in:
parent
4fe4047b8e
commit
cf87cdab8c
1 changed files with 0 additions and 4 deletions
|
@ -19,9 +19,6 @@ add_subdirectory(backends/lan)
|
||||||
add_subdirectory(backends/loopback)
|
add_subdirectory(backends/loopback)
|
||||||
|
|
||||||
option(MDNS_ENABLED "Use MDNS for device discovery (under development)" OFF)
|
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)
|
option(BLUETOOTH_ENABLED "Bluetooth support for kdeconnect" OFF)
|
||||||
if(BLUETOOTH_ENABLED)
|
if(BLUETOOTH_ENABLED)
|
||||||
|
@ -89,7 +86,6 @@ endif()
|
||||||
|
|
||||||
if (MDNS_ENABLED)
|
if (MDNS_ENABLED)
|
||||||
target_compile_definitions(kdeconnectcore PRIVATE -DKDECONNECT_MDNS)
|
target_compile_definitions(kdeconnectcore PRIVATE -DKDECONNECT_MDNS)
|
||||||
target_link_libraries(kdeconnectcore PRIVATE KF5::DNSSD)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties(kdeconnectcore PROPERTIES
|
set_target_properties(kdeconnectcore PROPERTIES
|
||||||
|
|
Loading…
Reference in a new issue