Do not link KDNSSD
This commit is contained in:
parent
af01f066ed
commit
0327fc08d1
1 changed files with 0 additions and 4 deletions
|
@ -11,9 +11,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(KF${QT_MAJOR_VERSION} ${KF_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)
|
||||||
|
@ -86,7 +83,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 KF${QT_MAJOR_VERSION}::DNSSD)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties(kdeconnectcore PROPERTIES
|
set_target_properties(kdeconnectcore PROPERTIES
|
||||||
|
|
Loading…
Reference in a new issue