diff options
author | Nicolas Fella <nicolas.fella@gmx.de> | 2022-07-31 14:50:05 +0200 |
---|---|---|
committer | Nicolas Fella <nicolas.fella@gmx.de> | 2022-08-08 23:59:13 +0000 |
commit | db46fc981fd8c1a46d923aeaf2187dfcc8b50099 (patch) | |
tree | c3ae9fbaeff4a548a39563b83569e4676a4d5c7a | |
parent | b7a4f3f4fb85ea0c95feac406ed65ddb1939ae74 (diff) | |
download | extra-cmake-modules-db46fc981fd8c1a46d923aeaf2187dfcc8b50099.tar.gz extra-cmake-modules-db46fc981fd8c1a46d923aeaf2187dfcc8b50099.tar.bz2 |
[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
-rw-r--r-- | find-modules/FindXCB.cmake | 13 |
1 files 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} ) |