SVN commit 1011970 by ivan: backport the compositing feature reporting M +10 -3 CMakeLists.txt --- branches/KDE/4.3/kdeplasma-addons/applets/lancelot/app/src/CMakeLists.txt #1011969:1011970 @@ -9,12 +9,19 @@ # Checking for Composite Begin # ######################################################### -message ("Composite libraries?") -if( X11_Xcomposite_FOUND AND X11_Xdamage_FOUND ) +if(X11_Xcomposite_FOUND AND X11_Xdamage_FOUND ) set( LANCELOT_HAVE_COMPOSITING 1 ) - message ("Composite libraries found") endif( X11_Xcomposite_FOUND AND X11_Xdamage_FOUND ) +macro_log_feature(LANCELOT_HAVE_COMPOSITING + "Compositing support" + "X11 Compositing support" + "http://www.x.org/" + FALSE + "" + "STRONGLY_RECOMMENDED: XComposite and XDamage extensions are required for Lancelot compositing support") + + configure_file(config-lancelot.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-lancelot.h )