From 484794f046adc67a21922aacdaca51d6f1428521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 16 Mar 2014 15:49:44 +0100 Subject: [PATCH] [kwin] Make built in effects link all libraries privately REVIEW: 116838 --- effects/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/CMakeLists.txt b/effects/CMakeLists.txt index e6d6a73a35..b247db6388 100644 --- a/effects/CMakeLists.txt +++ b/effects/CMakeLists.txt @@ -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