Adjust checks for KIO being present
This commit is contained in:
parent
5b6d81c22d
commit
cd3c02417e
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ PRIVATE
|
||||||
KF${QT_MAJOR_VERSION}::ConfigCore
|
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)
|
target_link_libraries(kdeconnectcore PUBLIC KF${QT_MAJOR_VERSION}::KIOCore KF${QT_MAJOR_VERSION}::KIOGui)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ set(kdeconnect_libraries
|
||||||
Qt::Test
|
Qt::Test
|
||||||
)
|
)
|
||||||
|
|
||||||
if(${KF5KIO_FOUND})
|
if(KF5KIO_FOUND OR KF6KIO_FOUND)
|
||||||
list(APPEND kdeconnect_libraries KF${QT_MAJOR_VERSION}::KIOWidgets)
|
list(APPEND kdeconnect_libraries KF${QT_MAJOR_VERSION}::KIOWidgets)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue