From 64dc6fe87d05aaad3ce516747ad6dbd048f388cb Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 27 Jan 2023 11:26:22 +0100 Subject: Add some exclusions for CMake Unity (Jumbo) builds Add exclusions for issues that are likely not fixable (3rd party code, X11 define clashes, etc) in 3rd party, tools and plugins. Pick-to: 6.5 Task-number: QTBUG-109394 Done-with: Amir Masoud Abdol Change-Id: I698c004201a76a48389271c130e44fba20f5adf7 Reviewed-by: Joerg Bornemann Reviewed-by: Qt CI Bot --- src/plugins/platforms/xcb/CMakeLists.txt | 2 ++ src/plugins/platforms/xcb/gl_integrations/xcb_egl/CMakeLists.txt | 2 ++ src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt | 2 ++ 3 files changed, 6 insertions(+) (limited to 'src/plugins/platforms/xcb') diff --git a/src/plugins/platforms/xcb/CMakeLists.txt b/src/plugins/platforms/xcb/CMakeLists.txt index 3303f19487..4f019dde5a 100644 --- a/src/plugins/platforms/xcb/CMakeLists.txt +++ b/src/plugins/platforms/xcb/CMakeLists.txt @@ -62,6 +62,8 @@ qt_internal_add_module(XcbQpaPrivate XKB::XKB ) +set_target_properties(XcbQpaPrivate PROPERTIES UNITY_BUILD OFF) # X11 define clashes + qt_disable_apple_app_extension_api_only(XcbQpaPrivate) ## Scopes: diff --git a/src/plugins/platforms/xcb/gl_integrations/xcb_egl/CMakeLists.txt b/src/plugins/platforms/xcb/gl_integrations/xcb_egl/CMakeLists.txt index c67ccd1cb1..98ea3c9e43 100644 --- a/src/plugins/platforms/xcb/gl_integrations/xcb_egl/CMakeLists.txt +++ b/src/plugins/platforms/xcb/gl_integrations/xcb_egl/CMakeLists.txt @@ -29,3 +29,5 @@ qt_internal_add_plugin(QXcbEglIntegrationPlugin Qt::XcbQpaPrivate EGL::EGL ) + +set_target_properties(QXcbEglIntegrationPlugin PROPERTIES UNITY_BUILD OFF) # X11 define clashes diff --git a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt index 13787eb9e7..a7fdbe0b98 100644 --- a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt +++ b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt @@ -27,6 +27,8 @@ qt_internal_add_plugin(QXcbGlxIntegrationPlugin Qt::XcbQpaPrivate ) +set_target_properties(QXcbGlxIntegrationPlugin PROPERTIES UNITY_BUILD OFF) # X11 define clashes + ## Scopes: ##################################################################### -- cgit v1.2.3