Commit 9dcefca8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Simplify qt5/qt6 build

parent ead21588
Pipeline #143754 failed with stage
in 49 seconds
......@@ -83,11 +83,7 @@ target_link_libraries(KPimImportWizard
KF5::MailImporterAkonadi
KF5::I18n
)
if (QT_MAJOR_VERSION STREQUAL "6")
target_link_libraries(KPimImportWizard PRIVATE qt6keychain)
else()
target_link_libraries(KPimImportWizard PRIVATE qt5keychain)
endif()
target_link_libraries(KPimImportWizard PRIVATE qt${QT_MAJOR_VERSION}keychain)
set_target_properties(KPimImportWizard PROPERTIES
VERSION ${IMPORTWIZARD_VERSION}
SOVERSION ${IMPORTWIZARD_SOVERSION}
......
Markdown is supported
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