Adjust checks for KIO being present

This commit is contained in:
Alexander Lohnau 2023-04-15 13:24:48 +02:00
parent 5b6d81c22d
commit cd3c02417e
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ PRIVATE
KF${QT_MAJOR_VERSION}::ConfigCore
)
if(${KF5KIO_FOUND})
if(KF5KIO_FOUND OR KF6KIO_FOUND)
target_link_libraries(kdeconnectcore PUBLIC KF${QT_MAJOR_VERSION}::KIOCore KF${QT_MAJOR_VERSION}::KIOGui)
endif()

View file

@ -9,7 +9,7 @@ set(kdeconnect_libraries
Qt::Test
)
if(${KF5KIO_FOUND})
if(KF5KIO_FOUND OR KF6KIO_FOUND)
list(APPEND kdeconnect_libraries KF${QT_MAJOR_VERSION}::KIOWidgets)
endif()