summaryrefslogtreecommitdiffstats
path: root/cmake/QtPluginHelpers.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-09-21 15:45:28 +0200
committerCristian Adam <cristian.adam@qt.io>2020-09-23 17:31:13 +0200
commit079cf5511150cd17de1573c0fc9fedb8db25b3ef (patch)
tree6ef88e00bfb5feb7ce317295189c34d858946d29 /cmake/QtPluginHelpers.cmake
parent42500dd9ca165e2b5d531d52059cec55267432b6 (diff)
CMake Build: Add support for -qtlibinfix configure parameter
Rename all libQt6*.so to libQt6*<infix>.so Task-number: QTBUG-85438 Change-Id: I4b91ffaaec7bea61454b0d3c794c77f2d0868d54 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtPluginHelpers.cmake')
-rw-r--r--cmake/QtPluginHelpers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtPluginHelpers.cmake b/cmake/QtPluginHelpers.cmake
index 73aa6c2fd3..4258555d98 100644
--- a/cmake/QtPluginHelpers.cmake
+++ b/cmake/QtPluginHelpers.cmake
@@ -67,7 +67,7 @@ function(qt_internal_add_plugin target)
if(arg_OUTPUT_NAME)
set(output_name "${arg_OUTPUT_NAME}")
endif()
- set_property(TARGET "${target}" PROPERTY OUTPUT_NAME "${output_name}")
+ set_property(TARGET "${target}" PROPERTY OUTPUT_NAME "${output_name}${QT_LIBINFIX}")
# Add a custom target with the Qt5 qmake name for a more user friendly ninja experience.
if(arg_OUTPUT_NAME AND NOT TARGET "${output_name}")