CMake: Remove duplicate libraries during android library collection
Change-Id: Ia6365e15e3ff3ca81ca6935293ce085893f64bbf Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
fb284a3c47
commit
8cbe8e8266
@ -604,6 +604,7 @@ function(_qt_internal_collect_apk_dependencies)
|
|||||||
get_property(apk_targets GLOBAL PROPERTY _qt_apk_targets)
|
get_property(apk_targets GLOBAL PROPERTY _qt_apk_targets)
|
||||||
|
|
||||||
_qt_internal_collect_buildsystem_shared_libraries(libs "${CMAKE_SOURCE_DIR}")
|
_qt_internal_collect_buildsystem_shared_libraries(libs "${CMAKE_SOURCE_DIR}")
|
||||||
|
list(REMOVE_DUPLICATES libs)
|
||||||
|
|
||||||
if(NOT TARGET qt_internal_plugins)
|
if(NOT TARGET qt_internal_plugins)
|
||||||
add_custom_target(qt_internal_plugins)
|
add_custom_target(qt_internal_plugins)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user