Merge branch 'ly-as-sdk/LYN-2948' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/LYN-2948

This commit is contained in:
lumberyard-employee-dm
2021-05-27 17:12:51 -05:00
+2
View File
@@ -692,7 +692,9 @@ endfunction()
# given a target name, returns the "real" name of the target if its an alias.
# this function recursively de-aliases
function(ly_de_alias_target target_name output_variable_name)
# its not okay to call get_target_property on a non-existent target
if (NOT TARGET ${target_name})
message(FATAL_ERROR "ly_de_alias_target called on non-existent target: ${target_name}")
endif()
while(target_name)