diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-01-27 11:26:22 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-16 16:03:06 +0100 |
commit | 64dc6fe87d05aaad3ce516747ad6dbd048f388cb (patch) | |
tree | b92970ae773c3553b8e3dcb6f8470689f909e75a /src/gui/CMakeLists.txt | |
parent | 557dcd8a87c6c6c77ccc71a85b1ec349c69eb4c4 (diff) |
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 <amir.abdol@qt.io>
Change-Id: I698c004201a76a48389271c130e44fba20f5adf7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/gui/CMakeLists.txt')
-rw-r--r-- | src/gui/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 96a1ae4bd5..edfb908896 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -292,6 +292,13 @@ set(qpdf_resource_files "painting/qpdfa_metadata.xml" ) +set_source_files_properties(painting/qdrawhelper.cpp # NO_PCH_SOURCES + PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON) + +if(WIN32 OR (UNIX AND NOT APPLE)) + set_target_properties(Gui PROPERTIES UNITY_BUILD OFF) # X11 define clashes/Windows oddities. +endif() + qt_internal_add_resource(Gui "qpdf" PREFIX "/qpdf/" |