diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-01-30 14:37:56 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-01 19:12:36 +0100 |
commit | 93af309a707ea2ab133e281d837ac37b1351fb47 (patch) | |
tree | 94df72f4d45bea7b70c3b76f8a88fd9b80e6a218 /examples/widgets/painting/shared | |
parent | ddb94dd7927126978fc2a620ebd91954e2f96862 (diff) |
Examples: Fix CMake Unity (Jumbo) builds
Disambiguate variables and add some exclusions.
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: Ie72b3caab9fd571c3fb6f7d8606584885bc09e66
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Diffstat (limited to 'examples/widgets/painting/shared')
-rw-r--r-- | examples/widgets/painting/shared/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/painting/shared/CMakeLists.txt b/examples/widgets/painting/shared/CMakeLists.txt index f3d6fd49de..fbd356e162 100644 --- a/examples/widgets/painting/shared/CMakeLists.txt +++ b/examples/widgets/painting/shared/CMakeLists.txt @@ -11,6 +11,8 @@ target_sources(painting_shared PRIVATE ${moc_files} ) +set_target_properties(painting_shared PROPERTIES UNITY_BUILD OFF) + target_link_libraries(painting_shared PUBLIC Qt6::Widgets) target_include_directories(painting_shared PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") |