Fixed the discovery of the dependencies of gem variant aliases which (#2013)
alias INTERFACE LIBRARY targets. This was causing the dependent Atom_AtomBridge sub gems from not being found when generating the cmake_dependencies.*.setreg file containing the list of gem modules to load Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d7c8c0192f
commit
097dc25424
@@ -47,7 +47,7 @@ set(ENABLED_GEMS
|
||||
LmbrCentral
|
||||
LyShine
|
||||
HttpRequestor
|
||||
Atom_AtomBridge
|
||||
Atom
|
||||
AWSCore
|
||||
AWSClientAuth
|
||||
AWSMetrics
|
||||
|
||||
@@ -160,12 +160,6 @@ function(ly_delayed_generate_settings_registry)
|
||||
|
||||
get_property(has_manually_added_dependencies TARGET ${gem_target} PROPERTY MANUALLY_ADDED_DEPENDENCIES SET)
|
||||
get_target_property(target_type ${gem_target} TYPE)
|
||||
if (target_type STREQUAL "INTERFACE_LIBRARY" AND has_manually_added_dependencies)
|
||||
# don't use interface libraries here, we only want ones which produce actual binaries unless the target
|
||||
# is empty. We have still already recursed into their dependencies - they'll show up later.
|
||||
# When the target has no dependencies however we want to add the gem root path to the generated setreg
|
||||
continue()
|
||||
endif()
|
||||
|
||||
|
||||
ly_get_gem_module_root(gem_module_root ${gem_target})
|
||||
|
||||
Reference in New Issue
Block a user