[kwin] Make built in effects link all libraries privately

REVIEW: 116838
icc-effect-5.14.5
Martin Gräßlin 2014-03-16 15:49:44 +01:00
parent dcfc5582ec
commit 484794f046
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ endif()
macro( KWIN4_ADD_EFFECT_BACKEND name )
add_library( ${name} SHARED ${ARGN} )
target_link_libraries( ${name} ${kwin_effect_OWN_LIBS} ${kwin_effect_KDE_LIBS} ${kwin_effect_QT_LIBS} ${kwin_effect_XLIB_LIBS} ${kwin_effect_XCB_LIBS})
target_link_libraries( ${name} PRIVATE ${kwin_effect_OWN_LIBS} ${kwin_effect_KDE_LIBS} ${kwin_effect_QT_LIBS} ${kwin_effect_XLIB_LIBS} ${kwin_effect_XCB_LIBS})
endmacro()
# Adds effect plugin with given name. Sources are given after the name