Link Qt::Concurrent with libkwin privately

This commit is contained in:
Vlad Zahorodnii 2023-10-25 01:00:16 +03:00
parent 3bed991941
commit 416c2c64b1
4 changed files with 3 additions and 3 deletions

View file

@ -202,7 +202,6 @@ target_link_libraries(kwin
kwineffects
kwinglutils
Qt::Concurrent
Qt::DBus
Qt::Quick
Qt::Widgets
@ -210,6 +209,7 @@ target_link_libraries(kwin
PRIVATE
Qt::Concurrent
Qt::Sensors
KF6::ConfigCore

View file

@ -3,7 +3,6 @@
include(CMakeFindDependencyMacro)
find_dependency(Qt6Core "@QT_MIN_VERSION@")
find_dependency(Qt6Gui "@QT_MIN_VERSION@")
find_dependency(Qt6Concurrent "@QT_MIN_VERSION@")
find_dependency(Qt6Quick "@QT_MIN_VERSION@")
find_dependency(KWinEffects)

View file

@ -22,6 +22,7 @@ ecm_qt_declare_logging_category(KWinQpaPlugin
target_compile_definitions(KWinQpaPlugin PRIVATE QT_STATICPLUGIN)
target_link_libraries(KWinQpaPlugin PRIVATE
Qt::Concurrent
Qt::CorePrivate
Qt::GuiPrivate
Freetype::Freetype # Must be after Qt6 platform support libs

View file

@ -16,7 +16,7 @@ add_library(KWinXwaylandServerModule OBJECT
xwldrophandler.cpp
xwaylandlauncher.cpp
)
target_link_libraries(KWinXwaylandServerModule PUBLIC kwin KF6::I18n KWinXwaylandCommon XCB::XCB XCB::RANDR XCB::XFIXES XCB::COMPOSITE XKB::XKB)
target_link_libraries(KWinXwaylandServerModule PUBLIC kwin Qt::Concurrent KF6::I18n KWinXwaylandCommon XCB::XCB XCB::RANDR XCB::XFIXES XCB::COMPOSITE XKB::XKB)
if(TARGET KF6::Notifications)
target_link_libraries(KWinXwaylandServerModule PUBLIC KF6::Notifications)
endif()