diff options
author | Michal Klocek <michal.klocek@qt.io> | 2020-04-30 13:03:29 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2020-05-16 02:22:28 +0200 |
commit | 5dd5821523bf4c13acea6096f2f5cfa3f15777de (patch) | |
tree | e03d23b96fd9d0637f8555e1d823c0297a7c47eb /mkspecs | |
parent | bf8268956b866e022825f81aa46833749a1ece28 (diff) |
Fix core headers makefile warnings
Since 4da47d0fba0 we have extra 'target', it is added
in qt_module.prf and also in qt_installs.prf
resulting in duplicated target installation rules
for macOS framework builds.
This spits out few warnings when doing core_headers like:
warning: overriding commands for target `install_target'
Try to avoid adding second 'target' and since we install headers
already in dummy_install, just skip the target in qt_installs.prf
Task-number: QTBUG-57656
Change-Id: I084ab7a5a3bda6511f1c2f4a8f0a875aceab6286
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/qt_module.prf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index 828a9621b9..a9c3572676 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -79,9 +79,9 @@ load(qt_build_paths) header_module { TEMPLATE = aux - CONFIG += force_qt # Needed for the headers_clean tests. - !lib_bundle: \ - CONFIG += qt_no_install_library + CONFIG += \ + force_qt \ # Needed for the headers_clean tests. + qt_no_install_library # Allow creation of .prl, .la and .pc files. target.path = $$[QT_INSTALL_LIBS] |