[kmag/frameworks] /: Enable building with QAccessibilityClient

Christoph Feck <[email protected]>
Newsgroups gmane.comp.kde.devel.accessibility,gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 1f8e4208d72c7f9ce6fa739f477151aab1fadccf by Christoph Feck.
Committed on 29/10/2014 at 16:38.
Pushed by cfeck into branch 'frameworks'.

Enable building with QAccessibilityClient

libqaccessibilityclient has a Qt5 port in master branch.
CCMAIL: [email protected]

M  +7    -2    CMakeLists.txt

http://commits.kde.org/kmag/1f8e4208d72c7f9ce6fa739f477151aab1fadccf

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3ec2511..f91ee30 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,8 +27,13 @@ find_package(KF5 REQUIRED COMPONENTS
     XmlGui
 )
 
-#macro_optional_find_package(QAccessibilityClient)
-#macro_log_feature(QAccessibilityClient_FOUND "qaccessibilityclient" "KDE client-side accessibility library" "https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient" FALSE "" "Required to enable keyboard focus tracking.")
+find_package(QAccessibilityClient)
+set_package_properties(QAccessibilityClient PROPERTIES
+    DESCRIPTION "KDE client-side accessibility library"
+    URL "https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient"
+    TYPE OPTIONAL
+    PURPOSE "Required to enable keyboard focus tracking."
+)
 
 configure_file(
     "${PROJECT_SOURCE_DIR}/focustrackconfig.h.in"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.