diff --git a/CMakeLists.txt b/CMakeLists.txt index b4678cb21..c3148d4b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DI find_package(Qt5 5.2 REQUIRED COMPONENTS Quick Test) find_package(KF5 REQUIRED COMPONENTS I18n KIO Notifications ConfigWidgets DBusAddons KCMUtils IconThemes) -find_package(Qca REQUIRED) +find_package(Qca-qt5 2.1.0 REQUIRED) include(KDEInstallDirs) include(KDECompilerSettings) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index faaac94b0..b6fa09b88 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -35,7 +35,7 @@ target_link_libraries(kdeconnectcore PUBLIC Qt5::Network KF5::KIOCore - qca + qca-qt5 PRIVATE Qt5::DBus Qt5::Gui diff --git a/plugins/sftp/CMakeLists.txt b/plugins/sftp/CMakeLists.txt index ae10b5ffc..384d70f69 100644 --- a/plugins/sftp/CMakeLists.txt +++ b/plugins/sftp/CMakeLists.txt @@ -41,7 +41,7 @@ target_link_libraries( kdeconnect_sftp_config KF5::KIOWidgets KF5::KCMUtils KF5::IconThemes - qca + qca-qt5 ) install(TARGETS kdeconnect_sftp_config DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a02dd244f..4c508b74b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -8,7 +8,7 @@ set(kdeconnect_libraries Qt5::Network Qt5::Test kdeconnectcore - qca + qca-qt5 ) ecm_add_test(networkpackagetests.cpp LINK_LIBRARIES ${kdeconnect_libraries})