From f222053c0b4592ba0b182e6690be5d400448967c Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Wed, 7 Dec 2022 20:22:15 +0200 Subject: [PATCH] Update FindXCB.cmake from extra-cmake-modules upstream Upstream commits: db46fc981fd8c1a46d923aeaf2187dfcc8b50099 1e9e1c508e177b6466282dfad273cf6cfcdf5c76 One useful change is removing the "XINPUT from XCB is experimental" warning, it's been around and the default for ages. Task-number: QTBUG-109183 Change-Id: Ie66aa76c5e3ce83d5d654cfa8279a946c7486602 Reviewed-by: Alexandru Croitor --- .../extra-cmake-modules/find-modules/FindXCB.cmake | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake b/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake index d530d2d7f4..dc60289401 100644 --- a/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake +++ b/cmake/3rdparty/extra-cmake-modules/find-modules/FindXCB.cmake @@ -129,10 +129,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}) @@ -175,11 +171,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 unavailable on many systems!") -endif() - ecm_find_package_handle_library_components(XCB COMPONENTS ${XCB_components} ) @@ -196,6 +187,6 @@ find_package_handle_standard_args(XCB include(FeatureSummary) set_package_properties(XCB PROPERTIES - URL "http://xcb.freedesktop.org" + URL "https://xcb.freedesktop.org/" DESCRIPTION "X protocol C-language Binding" )