X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=a4953eee507d625fb912e42e703a6a56674eb46c;hp=fc2266599c0b42f813a8a75726da17e811e1b180;hb=bc544f569faedea50c7715844a2261872796c683;hpb=bd295c044a8a8d2bb4efc1e8b0607a404b0db42c diff --git a/CMakeLists.txt b/CMakeLists.txt index fc226659..a4953eee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -235,14 +235,12 @@ if (USE_QT5) DESCRIPTION "the database support module for Qt5" ) - # While QCA2 seems to support Qt5, it is not actually co-installable or distinguishable from the Qt4 version... - # In order to avoid linking against the Qt4 version (which is probably the one installed), disable this for now - #find_package(QCA2 QUIET) - #set_package_properties(QCA2 PROPERTIES TYPE RECOMMENDED - # URL "https://projects.kde.org/projects/kdesupport/qca" - # DESCRIPTION "Qt Cryptographic Architecture" - # PURPOSE "Required for encryption support" - #) + find_package(QCA2-QT5) + set_package_properties(QCA2-QT5 PROPERTIES TYPE RECOMMENDED + URL "https://projects.kde.org/projects/kdesupport/qca" + DESCRIPTION "Qt Cryptographic Architecture" + PURPOSE "Required for encryption support" + ) endif(BUILD_CORE)