diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-01-19 17:17:40 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-19 22:20:18 +0000 |
commit | b5eb77a5520b130b172567fd0d96754d11d737ce (patch) | |
tree | be0ab991b9fd9cf3d4047093b5ab11d4613a8b9f /config.tests/stl | |
parent | 09606d526c32eb1bf651681e535da519e33e6777 (diff) |
Fix framework path for *_header_check targets
When building a Qt module against an installer-provided Qt on macOS, the
module pulls in the headersclean feature that creates the *_header_check
targets. Those targets try to compile the public headers of the module,
and the compilation command contains the -iframework argument. That
-iframework argument is supposed to point to the directory where the Qt
libs are installed. However, it pointed to the original
CMAKE_INSTALL_PREFIX of the machine where Qt was packaged.
Use the QT_BUILD_INTERNALS_RELOCATABLE_INSTALL_PREFIX variable instead
that contains the real installation location, even for an
installer-provided Qt.
Fixes: QTBUG-90402
Change-Id: I27de8b3cc816488c2716042383b334d5c421452d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit bd8d74e0e265297d61fe3b42f71a282bf381c379)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'config.tests/stl')
0 files changed, 0 insertions, 0 deletions