summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/freetype
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2020-12-08 22:00:22 +1100
committerCraig Scott <craig.scott@qt.io>2020-12-10 21:32:18 +1100
commitb94b7687b0635ee74a3ccd83a234ead0600fd47f (patch)
tree213dc7ffa64f82ad2951285d441b5807f288f95d /src/3rdparty/freetype
parent48346e8d2df287dd4b7e6d51de491c3bd3020255 (diff)
CMake: Support deferred finalization for qt6_add_executable()
Some parts of qt6_add_executable() need to take into account certain target properties, but the target is created within the function. The caller doesn't get the opportunity to modify those properties before they are used. This change provides a way to defer those property-using steps until either the project explicitly calls a function to finalize the target or the end of the current directory scope is reached. Automatic deferral to end of scope is only supported for CMake 3.19+. With CMake 3.18 or earlier, deferring the finalization step has to be explicitly requested with the new MANUAL_FINALIZATION keyword. The caller is then responsible for also calling qt6_finalize_executable() later. When the keyword is given, automatic finalization is disabled even when using CMake 3.19+. Note that while this could be implemented without CMake 3.19 features, other work relating to qt6_import_qml_plugins() will require it so we may as well use this method now. Fixes: QTBUG-88840 Task-number: QTBUG-86669 Pick-to: 6.0 Change-Id: Ic3854672ba18cff5af2ffd7f63596aa3ac492f33 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/3rdparty/freetype')
0 files changed, 0 insertions, 0 deletions