diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-06-10 13:04:13 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-06-10 13:46:31 +0200 |
commit | dde11715d357f95370850f5e4eebebcbe7964fb3 (patch) | |
tree | cef0784f7aeeff47897c343fc64f584d950ec523 /tests | |
parent | dc1dd51af3a35728235cb63a31b07ff76a652208 (diff) |
CMake: Temporary workaround for static top-level Qt builds
Because find_package usually creates targets in a local scope,
qt_generate_prl_file fails to generate a .prl file that has
references to generator expressions like
"$<TARGET_FILE:Freetype::Freetype>" which references targets
that are not found in that specific scope (e.g Freetype target is
present in qtbase scope, but not qtsvg scope).
This happens in static top-level Qt builds, and thus fails the
configuration. While we try to figure out how to fix this adequatly,
don't generate .prl files in such a configuration.
Task-number: QTBUG-84874
Change-Id: I69cf0ad1419d21e3676e1374624601f00936c405
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions