diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-10 17:45:45 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-11 19:49:50 +0200 |
commit | 9a2ee310596d229e334b40c4cc37a253009cabf3 (patch) | |
tree | bdd9db4f3e95b35981d0dd965b849471171062e9 /cmake/QtPostProcessHelpers.cmake | |
parent | 9346760f5a173bd3b697b8f800b3c992db1019bd (diff) |
CMake: Fix rpaths set for Qt internal apps like Designer
qt_apply_rpaths takes into account properties like MACOSX_BUNDLE. This
property might not yet be set when qt_internal_add_app is called, but
later.
To handle that, move the call of qt_apply_rpaths to
qt_internal_finalize_app.
As a result, the installed apps will have 2 rpaths, the $ORIGIN style
relocatable one, and an absolute path one pointing to the Qt
prefix/lib. The last one might be unnecessary.
Fixes: QTBUG-86514
Change-Id: I25e0d695c78c8b5703e94c99cc2457f772721456
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/QtPostProcessHelpers.cmake')
0 files changed, 0 insertions, 0 deletions