From db46fc981fd8c1a46d923aeaf2187dfcc8b50099 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 31 Jul 2022 14:50:05 +0200 Subject: [FindXCB] Remove special treatment for XINPUT By now everyone should have it Warning that it is unstable is just producing noise If someone really doesn't have it available the caller must not request it --- find-modules/FindXCB.cmake | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/find-modules/FindXCB.cmake b/find-modules/FindXCB.cmake index 6cb40af3..41dd889f 100644 --- a/find-modules/FindXCB.cmake +++ b/find-modules/FindXCB.cmake @@ -24,8 +24,8 @@ available:: XKB XPRINT XTEST XV XVMC If no components are specified, this module will act as though all components -except XINPUT (which is considered unstable) were passed to -OPTIONAL_COMPONENTS. +were passed to OPTIONAL_COMPONENTS. Before 5.82 this excluded XINPUT. Since 5.82 +all components are searched for. This module will define the following variables, independently of the components searched for or found: @@ -107,10 +107,6 @@ set(XCB_known_components XVMC ) -# XINPUT is unstable; do not include it by default -set(XCB_default_components ${XCB_known_components}) -list(REMOVE_ITEM XCB_default_components "XINPUT") - # default component info: xcb components have fairly predictable # header files, library names and pkg-config names foreach(_comp ${XCB_known_components}) @@ -153,11 +149,6 @@ ecm_find_package_parse_components(XCB DEFAULT_COMPONENTS ${XCB_default_components} ) -list(FIND XCB_components "XINPUT" _XCB_XINPUT_index) -if (NOT _XCB_XINPUT_index EQUAL -1) - message(AUTHOR_WARNING "XINPUT from XCB was requested: this is EXPERIMENTAL and is likely to be unavailable on many systems!") -endif() - ecm_find_package_handle_library_components(XCB COMPONENTS ${XCB_components} ) -- cgit v1.2.1