Fixing runtime dependencies (including qt deploy). Running AP/Editor again

main
pappeste 5 years ago
parent 89fc1483fe
commit 65e0bd270e

@ -45,6 +45,8 @@ if(EXISTS ${manifest_path})
if(${json_error})
message(FATAL_ERROR "Unable to read engines[${engine_path_index}] '${manifest_path}', error: ${json_error}")
endif()
list(APPEND CMAKE_MODULE_PATH "${engine_path}/cmake")
if(engine_path)
list(APPEND CMAKE_MODULE_PATH "${engine_path}/cmake")
endif()
endforeach()
endif()

@ -244,7 +244,6 @@ function(ly_setup_cmake_install)
get_property(all_targets GLOBAL PROPERTY LY_ALL_TARGETS)
unset(FIND_PACKAGES_PLACEHOLDER)
foreach(alias_target IN LISTS all_targets)
unset(TARGET_NAME)
ly_de_alias_target(${alias_target} target)
get_target_property(target_source_dir ${target} SOURCE_DIR)
file(RELATIVE_PATH target_source_dir_relative ${LY_ROOT_FOLDER} ${target_source_dir})
@ -301,7 +300,8 @@ endfunction()"
unset(runtime_commands)
get_property(all_targets GLOBAL PROPERTY LY_ALL_TARGETS)
foreach(target IN LISTS all_targets)
foreach(alias_target IN LISTS all_targets)
ly_de_alias_target(${alias_target} target)
# Exclude targets that dont produce runtime outputs
get_target_property(target_type ${target} TYPE)

Loading…
Cancel
Save