Effects do not need kephal
This commit is contained in:
parent
1493dfd94f
commit
92d32de087
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ kde4_no_enable_final(kwineffects)
|
||||||
#add_subdirectory( _test )
|
#add_subdirectory( _test )
|
||||||
macro( KWIN4_ADD_EFFECT_BACKEND name )
|
macro( KWIN4_ADD_EFFECT_BACKEND name )
|
||||||
kde4_add_plugin( ${name} ${ARGN} )
|
kde4_add_plugin( ${name} ${ARGN} )
|
||||||
target_link_libraries( ${name} kwineffects ${KDE4_KDEUI_LIBS} kephal ${KDE4_PLASMA_LIBS} ${X11_Xfixes_LIB} ${X11_Xcursor_LIB})
|
target_link_libraries( ${name} kwineffects ${KDE4_KDEUI_LIBS} ${KDE4_PLASMA_LIBS} ${X11_Xfixes_LIB} ${X11_Xcursor_LIB})
|
||||||
if (X11_Xfixes_FOUND)
|
if (X11_Xfixes_FOUND)
|
||||||
target_link_libraries(${name} ${X11_Xfixes_LIB})
|
target_link_libraries(${name} ${X11_Xfixes_LIB})
|
||||||
endif (X11_Xfixes_FOUND)
|
endif (X11_Xfixes_FOUND)
|
||||||
|
@ -47,18 +47,18 @@ macro( KWIN4_ADD_EFFECT_CONFIG name )
|
||||||
|
|
||||||
kde4_add_ui_files( kwin4_effect_src ${kwin4_effect_ui} )
|
kde4_add_ui_files( kwin4_effect_src ${kwin4_effect_ui} )
|
||||||
kde4_add_plugin( kcm_kwin4_effect_${name} ${kwin4_effect_src} )
|
kde4_add_plugin( kcm_kwin4_effect_${name} ${kwin4_effect_src} )
|
||||||
target_link_libraries( kcm_kwin4_effect_${name} kwineffects ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS} kephal )
|
target_link_libraries( kcm_kwin4_effect_${name} kwineffects ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS} )
|
||||||
install( TARGETS kcm_kwin4_effect_${name} DESTINATION ${PLUGIN_INSTALL_DIR} )
|
install( TARGETS kcm_kwin4_effect_${name} DESTINATION ${PLUGIN_INSTALL_DIR} )
|
||||||
endmacro( KWIN4_ADD_EFFECT_CONFIG )
|
endmacro( KWIN4_ADD_EFFECT_CONFIG )
|
||||||
|
|
||||||
macro( KWIN4_EFFECT_LINK_XRENDER name )
|
macro( KWIN4_EFFECT_LINK_XRENDER name )
|
||||||
if( KWIN_HAVE_XRENDER_COMPOSITING )
|
if( KWIN_HAVE_XRENDER_COMPOSITING )
|
||||||
target_link_libraries( kwin4_effect_${name} ${X11_Xrender_LIB} ${X11_LIBRARIES} kephal )
|
target_link_libraries( kwin4_effect_${name} ${X11_Xrender_LIB} ${X11_LIBRARIES} )
|
||||||
|
|
||||||
# if building for OpenGL and OpenGL ES we have two targets
|
# if building for OpenGL and OpenGL ES we have two targets
|
||||||
# TODO: if building for OpenGL ES we should not build XRender support
|
# TODO: if building for OpenGL ES we should not build XRender support
|
||||||
if(OPENGLES_FOUND)
|
if(OPENGLES_FOUND)
|
||||||
target_link_libraries( kwin4_effect_gles_${name} ${X11_Xrender_LIB} ${X11_LIBRARIES} kephal )
|
target_link_libraries( kwin4_effect_gles_${name} ${X11_Xrender_LIB} ${X11_LIBRARIES} )
|
||||||
endif(OPENGLES_FOUND)
|
endif(OPENGLES_FOUND)
|
||||||
endif( KWIN_HAVE_XRENDER_COMPOSITING )
|
endif( KWIN_HAVE_XRENDER_COMPOSITING )
|
||||||
endmacro( KWIN4_EFFECT_LINK_XRENDER )
|
endmacro( KWIN4_EFFECT_LINK_XRENDER )
|
||||||
|
|
Loading…
Reference in a new issue