Reduce needed dependencies
For many components KConfigWidgets isn't necessary, just KColorScheme. Signed-off-by: Falko Becker <falko.becker@mbition.io>
This commit is contained in:
parent
5386360928
commit
c5305820d4
4 changed files with 5 additions and 3 deletions
|
@ -77,6 +77,7 @@ endif()
|
|||
# required frameworks by Core
|
||||
find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
|
||||
Auth
|
||||
ColorScheme
|
||||
Config
|
||||
ConfigWidgets
|
||||
CoreAddons
|
||||
|
|
|
@ -248,8 +248,9 @@ target_link_libraries(kwin
|
|||
Qt::Sensors
|
||||
Qt::GuiPrivate
|
||||
|
||||
KF6::ColorScheme
|
||||
KF6::ConfigGui
|
||||
KF6::ConfigQml
|
||||
KF6::ConfigWidgets
|
||||
KF6::Crash
|
||||
KF6::GlobalAccel
|
||||
KF6::I18n
|
||||
|
|
|
@ -47,7 +47,7 @@ target_compile_definitions(decorationplugin PRIVATE
|
|||
)
|
||||
target_link_libraries(decorationplugin
|
||||
KDecoration2::KDecoration
|
||||
KF6::ConfigWidgets
|
||||
KF6::ColorScheme
|
||||
Qt::Quick
|
||||
)
|
||||
install(TARGETS decorationplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kwin/decoration)
|
||||
|
|
|
@ -5,7 +5,7 @@ set(plastik_plugin_SRCS
|
|||
|
||||
add_library(plastikplugin SHARED ${plastik_plugin_SRCS})
|
||||
set_target_properties(plastikplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org/kde/kwin/decorations/plastik")
|
||||
target_link_libraries(plastikplugin Qt::Core Qt::Quick KF6::ConfigWidgets)
|
||||
target_link_libraries(plastikplugin Qt::Core Qt::Quick KF6::ColorScheme)
|
||||
install(TARGETS plastikplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kwin/decorations/plastik)
|
||||
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kwin/decorations/plastik)
|
||||
file(COPY qmldir DESTINATION ${CMAKE_BINARY_DIR}/bin/org/kde/kwin/decorations/plastik)
|
||||
|
|
Loading…
Reference in a new issue