summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/doc/images
diff options
context:
space:
mode:
authorAlexandru Croitor <[email protected]>2025-06-19 11:07:59 +0200
committerAlexandru Croitor <[email protected]>2025-06-23 15:53:02 +0200
commit2293fe9de819ebc6b31eef334dd94112d71fe663 (patch)
treeced03cbc736d6e166417a918518b8d0936a631dc /examples/vulkan/doc/images
parentdc52aa68ea305d8ef40f8b514bfeba80cd6c2c1e (diff)
CMake: Pass qt-configured linker flag when building examplesHEADdev
If Qt is configured to build with lld, our examples should use it as well. But we want to do it without forcing the same linker on user projects. Normally if we wanted to do it for all user projects, we would propagate the linker flag via the Platform target, but we can't. In case of in-tree examples, we propagate the flags using add_link_options which is directory-scoped, and will apply to all targets created under the examples directory. For out-of-tree examples, we pass the flags via the equivalent CMAKE_<type>_LINKER_FLAGS_INIT variable to the external project. Pick-to: 6.8 6.9 6.10 Fixes: QTBUG-137882 Change-Id: Iade8ee2f37032b4a7801e5a628c9cc177d478129 Reviewed-by: Alexey Edelev <[email protected]> Reviewed-by: Moss Heim <[email protected]>
Diffstat (limited to 'examples/vulkan/doc/images')
0 files changed, 0 insertions, 0 deletions