From 7c9837dfd4fb1e55c20c00d88fb0c9ed5587d5c9 Mon Sep 17 00:00:00 2001 From: pappeste Date: Wed, 5 May 2021 12:07:45 -0700 Subject: [PATCH] installing the gems.json files --- cmake/Platform/Common/Install_common.cmake | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cmake/Platform/Common/Install_common.cmake b/cmake/Platform/Common/Install_common.cmake index e9726fb949..dbffcc8d12 100644 --- a/cmake/Platform/Common/Install_common.cmake +++ b/cmake/Platform/Common/Install_common.cmake @@ -439,6 +439,21 @@ function(ly_setup_others) endif() endforeach() + # gem.json files + file(GLOB_RECURSE + gems_json_path + LIST_DIRECTORIES FALSE + RELATIVE "${CMAKE_SOURCE_DIR}" + "Gems/*/gem.json" + ) + foreach(gem_json_path ${gems_json_path}) + get_filename_component(gem_relative_path ${gem_json_path} DIRECTORY) + install(FILES ${gem_json_path} + DESTINATION ${gem_relative_path} + COMPONENT ${LY_DEFAULT_INSTALL_COMPONENT} + ) + endforeach() + # Additional files needed by gems install(FILES ${CMAKE_SOURCE_DIR}/Gems/ImageProcessing/Code/Source/ImageBuilderDefaultPresets.settings