qt6-bb10/cmake/3rdparty/extra-cmake-modules/find-modules
Alexey Edelev 6ce6ff1c52 Force CMake to look for static versions of xcb components
Add the USE_XCB_<component>_STATIC switches that force using the
static versions of xcb components if necessary.

The xcb components needs to be built with -fPIC option, to make the
static linking possible.

When Qt is built staticaly USE_XCB_<component>_STATIC needs to be
passed to the application command line, since in static case xcb
libraries are resolved and linked when configuring application, but
not when building Qt.

Pick-to: 6.7 6.6 6.5
Task-number: QTBUG-120769
Change-Id: I274e9cf4a6a111dc87ad84bb7f49cad76a3d364a
Reviewed-by: Liang Qi <liang.qi@qt.io>
2024-01-19 20:44:59 +00:00
..
ECMFindModuleHelpersStub.cmake
FindEGL.cmake Silence a warning in EGL check 2023-06-12 21:55:36 +00:00
FindGLIB2.cmake
FindWayland.cmake
FindWaylandScanner.cmake Remove the Unnecessary CMake Module, `include(CMakeParseArguments)` 2022-10-25 20:14:35 +02:00
FindX11_XCB.cmake
FindXCB.cmake Force CMake to look for static versions of xcb components 2024-01-19 20:44:59 +00:00