summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Becker <[email protected]>2016-11-04 21:45:00 +0100
committerHeiko Becker <[email protected]>2016-11-13 14:34:13 +0100
commit2b27eaeeef4c9b5cea6ce17f98591574d09b6473 (patch)
tree1bb2dbcb25d4350d6e1da941f5beb0a36256ba75
parent47192a6c46c4e18b114c0defd3b6b9b4ecc1b6d0 (diff)
Don't use KDELibs4Support anymore
And search for some additional packages, which aren't aren't pulled in automagically by KDELibs4Support.
-rw-r--r--CMakeLists.txt19
1 files changed, 16 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0412616..7c8ce08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,14 +12,23 @@ include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
+add_definitions(
+ -DQT_NO_CAST_TO_ASCII
+ -DQT_NO_CAST_FROM_ASCII
+ -DQT_NO_URL_CAST_FROM_STRING
+)
+
find_package(KF5 REQUIRED COMPONENTS
- I18n
+ Bookmarks
Crash
Config
ConfigWidgets
CoreAddons
DocTools
- KDELibs4Support
+ I18n
+ KIO
+ TextWidgets
+ XmlGui
)
include_directories (${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
@@ -47,8 +56,12 @@ target_link_libraries(sweeper
Qt5::Core
Qt5::DBus
Qt5::Widgets
+ KF5::Bookmarks
+ KF5::I18n
KF5::KIOCore
- KF5::KDELibs4Support)
+ KF5::TextWidgets
+ KF5::XmlGui
+)
install(TARGETS sweeper ${INSTALL_TARGETS_DEFAULT_ARGS} )