configure: Fix handling of -translationdir argument
This is supposed to be mapped to INSTALL_TRANSLATIONSDIR, not INSTALL_TRANSLATIONDIR (without the s). Pick-to: 6.0 6.1 Fixes: QTBUG-90946 Change-Id: Icec93ffc0dc80d9ac7cf6cf1b13824bc2a1e795f Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
parent
eab286b760
commit
b9d1dc43f2
@ -638,12 +638,13 @@ translate_string_input(qt_libinfix QT_LIBINFIX)
|
||||
translate_string_input(qreal QT_COORD_TYPE)
|
||||
translate_path_input(prefix CMAKE_INSTALL_PREFIX)
|
||||
translate_path_input(extprefix CMAKE_STAGING_PREFIX)
|
||||
foreach(kind bin lib archdata libexec qml data doc translation sysconf examples tests)
|
||||
foreach(kind bin lib archdata libexec qml data doc sysconf examples tests)
|
||||
string(TOUPPER ${kind} uc_kind)
|
||||
translate_path_input(${kind}dir INSTALL_${uc_kind}DIR)
|
||||
endforeach()
|
||||
translate_path_input(headerdir INSTALL_INCLUDEDIR)
|
||||
translate_path_input(plugindir INSTALL_PLUGINSDIR)
|
||||
translate_path_input(translationdir INSTALL_TRANSLATIONSDIR)
|
||||
|
||||
if(NOT "${INPUT_device}" STREQUAL "")
|
||||
push("-DQT_QMAKE_TARGET_MKSPEC=devices/${INPUT_device}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user