Remove duplicated target_link_libraries

This commit is contained in:
Albert Vaca Cintora 2023-07-20 18:23:14 +02:00
parent 0e2d2af402
commit 8c97e56f23

View file

@ -76,10 +76,6 @@ if(WIN32)
target_link_libraries(kdeconnectcore PRIVATE ws2_32.lib) # winsock2 target_link_libraries(kdeconnectcore PRIVATE ws2_32.lib) # winsock2
endif() endif()
if(KF5KIO_FOUND OR KF6KIO_FOUND)
target_link_libraries(kdeconnectcore PUBLIC KF${QT_MAJOR_VERSION}::KIOCore KF${QT_MAJOR_VERSION}::KIOGui)
endif()
if (BLUETOOTH_ENABLED) if (BLUETOOTH_ENABLED)
target_compile_definitions(kdeconnectcore PRIVATE -DKDECONNECT_BLUETOOTH) target_compile_definitions(kdeconnectcore PRIVATE -DKDECONNECT_BLUETOOTH)
target_link_libraries(kdeconnectcore PRIVATE Qt5::Bluetooth) target_link_libraries(kdeconnectcore PRIVATE Qt5::Bluetooth)