diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-12-03 11:53:24 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-12-03 17:18:23 +0100 |
commit | e32e4898dde1dc2a5ae19a1c3dc4609064258a43 (patch) | |
tree | a341aabe3ac45bacb1af9146fee4cd4d7327ccca /src/corelib/tools/qmap.cpp | |
parent | a5e2f2ddad0cc6b6a06f51e0dce6acf0fecf9de6 (diff) |
CMake: Fix QMAKE_LIB_<NAME> variable names in module .pri files
QMake libraries that contain dashes are referenced by QMAKE_USE as is,
but the corresponding QMAKE_LIB_<NAME> variable must be normalized to
contain underscores.
Example from the qmake build:
./mkspecs/modules/qt_lib_waylandclient.pri
11:QT.waylandclient.uses = wayland-client xkbcommon wayland-cursor
./mkspecs/modules/qt_lib_waylandclient_private.pri
12:QMAKE_DEPENDS_WAYLAND_CURSOR_CC = WAYLAND_CLIENT
13:QMAKE_DEPENDS_WAYLAND_CURSOR_LD = WAYLAND_CLIENT
15:QMAKE_LIBS_WAYLAND_CURSOR = -lwayland-cursor
Pick-to: 6.0
Change-Id: If31bd45764d52f97d80d6388503008dc1ffb16ab
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/tools/qmap.cpp')
0 files changed, 0 insertions, 0 deletions