Commit f49d60b8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qca-<version>

parent dafce274
Pipeline #135716 failed with stage
in 6 minutes and 48 seconds
......@@ -91,7 +91,7 @@ find_package(SharedMimeInfo ${SharedMimeInfo_MINIMUM_VERSION} REQUIRED)
find_package(Sasl2)
set_package_properties(Sasl2 PROPERTIES TYPE REQUIRED)
find_package(Qca-qt5 2.2.0 CONFIG REQUIRED)
find_package(Qca-qt${QT_MAJOR_VERSION} 2.2.0 CONFIG REQUIRED)
set_package_properties(Qca-qt5 PROPERTIES DESCRIPTION "Qt Cryptographic Architecture"
URL "https://invent.kde.org/libraries/qca" TYPE REQUIRED
PURPOSE "Needed for ews resource.")
......
......@@ -98,7 +98,7 @@ if (TARGET Qt${QT_MAJOR_VERSION}::NetworkAuth)
auth/ewsoauth.h)
endif ()
if (Qca-qt5_FOUND)
if (Qca-qt${QT_MAJOR_VERSION}_FOUND)
list(APPEND EWSCLIENT_SRCS
auth/ewspkeyauthjob.cpp
auth/ewspkeyauthjob.h)
......@@ -154,7 +154,7 @@ if (TARGET Qt${QT_MAJOR_VERSION}::NetworkAuth)
Qt${QT_MAJOR_VERSION}::WebEngineWidgets)
endif ()
if (Qca-qt5_FOUND)
if (Qca-qt${QT_MAJOR_VERSION}_FOUND)
target_link_libraries(ewsclient
qca-qt5)
qca-qt${QT_MAJOR_VERSION})
endif ()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment