qpa: Use imported targets for QtCore and QtGui private headers
This commit is contained in:
parent
17381dcf05
commit
691df1ae00
1 changed files with 2 additions and 5 deletions
|
@ -16,12 +16,9 @@ ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA
|
|||
add_library(KWinQpaPlugin OBJECT ${QPA_SOURCES})
|
||||
target_compile_definitions(KWinQpaPlugin PRIVATE QT_STATICPLUGIN)
|
||||
|
||||
target_include_directories(KWinQpaPlugin PRIVATE
|
||||
${Qt5Core_PRIVATE_INCLUDE_DIRS}
|
||||
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(KWinQpaPlugin PRIVATE
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::FontDatabaseSupportPrivate
|
||||
Qt::ThemeSupportPrivate
|
||||
Qt::EventDispatcherSupportPrivate
|
||||
|
|
Loading…
Reference in a new issue