summaryrefslogtreecommitdiff
path: root/Meta/Lagom/get_linked_lagom_libraries.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/get_linked_lagom_libraries.cmake')
-rw-r--r--Meta/Lagom/get_linked_lagom_libraries.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Meta/Lagom/get_linked_lagom_libraries.cmake b/Meta/Lagom/get_linked_lagom_libraries.cmake
index a77928bbfb..1f5a1d3000 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")