diff --git a/Meta/Lagom/get_linked_lagom_libraries.cmake b/Meta/Lagom/get_linked_lagom_libraries.cmake index a77928bbfb8..1f5a1d3000e 100644 --- a/Meta/Lagom/get_linked_lagom_libraries.cmake +++ b/Meta/Lagom/get_linked_lagom_libraries.cmake @@ -11,6 +11,11 @@ function(get_linked_lagom_libraries_impl target output) return() endif() + get_target_property(target_is_imported "${target}" IMPORTED) + if (target_is_imported) + return() + endif() + get_target_property(target_type "${target}" TYPE) if ("${target_type}" STREQUAL "SHARED_LIBRARY")