diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2021-05-23 15:02:36 +0200 |
---|---|---|
committer | Alexey Edelev <semlanik@gmail.com> | 2021-05-23 16:16:09 +0200 |
commit | ffe5f925469aa1f824b3b3aa5ce4831ea2b0a19e (patch) | |
tree | b5854076f5ea6bc9ed2fe6fb250b12ebd4242c31 /cmake/Qt3rdPartyLibraryHelpers.cmake | |
parent | 76bd8730305b6ad4e69338087bcfb588291be3b4 (diff) | |
download | qtbase-ffe5f925469aa1f824b3b3aa5ce4831ea2b0a19e.tar.gz |
Add _qt_module_interface_name for 3rdparty libraries
Since we add 3rdparty libraries to the set of the Qt modules, they are
treated as the Qt modules by the depenedcy helper as well. So give them
_qt_module_interface_name to fix dependency helper.
Amends 425ff34aa10a02524f2d52f544dc00b539ef9a26
Change-Id: I5898c1c90156de1878aeeef5a0924349b44c50fa
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'cmake/Qt3rdPartyLibraryHelpers.cmake')
-rw-r--r-- | cmake/Qt3rdPartyLibraryHelpers.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Qt3rdPartyLibraryHelpers.cmake b/cmake/Qt3rdPartyLibraryHelpers.cmake index 7cfa943567..a2f35cf362 100644 --- a/cmake/Qt3rdPartyLibraryHelpers.cmake +++ b/cmake/Qt3rdPartyLibraryHelpers.cmake @@ -136,6 +136,9 @@ function(qt_internal_add_3rdparty_library target) set(arg_ARCHIVE_INSTALL_DIRECTORY "${arg_INSTALL_DIRECTORY}") endif() + set_target_properties(${target} PROPERTIES + _qt_module_interface_name "${target}" + ) qt_internal_add_qt_repo_known_module(${target}) qt_internal_add_target_aliases(${target}) _qt_internal_apply_strict_cpp(${target}) |