Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Accessibility
KMag
Commits
6393f3ea
Commit
6393f3ea
authored
Sep 29, 2014
by
Christoph Feck
Browse files
KF5 port: only link to required frameworks
parent
daa05153
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
6393f3ea
...
...
@@ -17,10 +17,14 @@ include(FeatureSummary)
find_package
(
Qt5
${
QT_MIN_VERSION
}
CONFIG REQUIRED COMPONENTS
Core
Widgets
PrintSupport
)
find_package
(
KF5 REQUIRED COMPONENTS
KDELibs4Support
DocTools
I18n
KIO
XmlGui
)
#macro_optional_find_package(QAccessibilityClient)
...
...
@@ -52,7 +56,14 @@ set(kmag_SRCS
add_executable
(
kmag
${
kmag_SRCS
}
)
target_link_libraries
(
kmag Qt5::Core Qt5::Widgets KF5::KDELibs4Support
)
target_link_libraries
(
kmag
Qt5::Core
Qt5::Widgets
Qt5::PrintSupport
KF5::KIOCore
KF5::I18n
KF5::XmlGui
)
if
(
QAccessibilityClient_FOUND
)
target_link_libraries
(
kmag
${
QACCESSIBILITYCLIENT_LIBRARY
}
)
endif
(
QAccessibilityClient_FOUND
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment