Fix linking of Effects and Effect Configs
This commit is contained in:
parent
5e0484bc17
commit
99b9f79b3b
1 changed files with 17 additions and 5 deletions
|
@ -3,13 +3,17 @@ set(kwin_effect_OWN_LIBS
|
|||
)
|
||||
|
||||
set(kwin_effect_KDE_LIBS
|
||||
${KDE4_KDEUI_LIBS}
|
||||
${KDE4_PLASMA_LIBS}
|
||||
${KDECLARATIVE_LIBRARIES}
|
||||
${KDE4Support_LIBRARIES}
|
||||
${KDE4_KDEUI_LIBRARY}
|
||||
${KDE4_KDECORE_LIBS} # kdebug
|
||||
KF5::KWindowSystem
|
||||
KF5::plasma # screenedge effect
|
||||
)
|
||||
|
||||
set(kwin_effect_QT_LIBS
|
||||
${QT_QTDECLARATIVE_LIBRARY}
|
||||
${Qt5Declarative_LIBRARIES}
|
||||
${Qt5X11Extras_LIBRARIES}
|
||||
${Qt5DBus_LIBRARIES}
|
||||
)
|
||||
|
||||
set(kwin_effect_XLIB_LIBS
|
||||
|
@ -81,7 +85,15 @@ macro( KWIN4_ADD_EFFECT_CONFIG name )
|
|||
if(OPENGLES_FOUND)
|
||||
set_target_properties(kcm_kwin4_effect_${name} PROPERTIES COMPILE_FLAGS "-DKWIN_HAVE_OPENGLES")
|
||||
endif()
|
||||
target_link_libraries( kcm_kwin4_effect_${name} kwineffects ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS} )
|
||||
target_link_libraries( kcm_kwin4_effect_${name}
|
||||
kwineffects
|
||||
${Qt5Widgets_LIBRARIES}
|
||||
${KDE4Support_LIBRARIES}
|
||||
${KDE4_KDEUI_LIBRARY}
|
||||
${KDE4_KIO_LIBRARY} # KUrlRequester
|
||||
KF5::KCoreAddons
|
||||
KF5::KI18n
|
||||
)
|
||||
install( TARGETS kcm_kwin4_effect_${name} DESTINATION ${PLUGIN_INSTALL_DIR} )
|
||||
endmacro()
|
||||
|
||||
|
|
Loading…
Reference in a new issue