diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ Plasma ) -find_package(X11 REQUIRED) +find_package(X11 REQUIRED OPTIONAL_COMPONENTS Xtst) find_package(LibKWorkspace CONFIG REQUIRED) if(X11_FOUND) diff --git a/config-X11.h.cmake b/config-X11.h.cmake --- a/config-X11.h.cmake +++ b/config-X11.h.cmake @@ -1,44 +1,5 @@ -/* Define if you have the XRandR extension */ -#cmakedefine HAVE_XRANDR 1 - -/* Define if you have the XDamage extension */ -#cmakedefine HAVE_XDAMAGE 1 - -/* Define if you have the XKB extension */ -#cmakedefine HAVE_XKB 1 - -/* Define if you have the Xinerama extension */ -#cmakedefine HAVE_XINERAMA 1 - -/* Define if you have the XSHM (MIT SHM) extension */ -#cmakedefine HAVE_XSHM 1 - -/* Define if you have the XComposite extension */ -#cmakedefine HAVE_XCOMPOSITE 1 - -/* Define to 1 if you have Xcursor */ -#cmakedefine HAVE_XCURSOR 1 - -/* Define if you have the xf86misc extension */ -#cmakedefine HAVE_XF86MISC 1 - -/* Define if you have the XFixes extension */ -#cmakedefine HAVE_XFIXES 1 - /* Define if you have the XTest extension */ #cmakedefine HAVE_XTEST 1 -/* Define if your system has XRender support */ -#cmakedefine HAVE_XRENDER 1 - -/* Define if you have OpenGL */ -#cmakedefine HAVE_OPENGL 1 - -/* Define if you have the XSync extension */ -#cmakedefine HAVE_XSYNC 1 - -/* Define if you have XRandR 1.3 */ -#cmakedefine HAS_RANDR_1_3 1 - /* Define if you have X11 at all */ #cmakedefine01 HAVE_X11