From 4f47f26249f9252af8b2b6713fb8005e6499cfbb Mon Sep 17 00:00:00 2001 From: amzn-mike <80125227+amzn-mike@users.noreply.github.com> Date: Wed, 2 Feb 2022 11:04:18 -0600 Subject: [PATCH] Move Runtime dependency on AssetBuilder from AssetProcessor.Static to AssetProcessor and AssetProcessorBatch. (#7298) This dependency was causing all of the asset processor modules to have to build gems, namely the unit tests which did not actually require the gems. Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com> --- Code/Tools/AssetProcessor/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Code/Tools/AssetProcessor/CMakeLists.txt b/Code/Tools/AssetProcessor/CMakeLists.txt index a47ced43be..9fa33d3376 100644 --- a/Code/Tools/AssetProcessor/CMakeLists.txt +++ b/Code/Tools/AssetProcessor/CMakeLists.txt @@ -44,8 +44,6 @@ ly_add_target( AZ::AssetBuilderSDK AZ::AssetBuilder.Static ${additional_dependencies} - RUNTIME_DEPENDENCIES - AZ::AssetBuilder ) # Aggregates all combined AssetBuilders into a single LY_ASSET_BUILDERS #define @@ -76,6 +74,8 @@ ly_add_target( BUILD_DEPENDENCIES PRIVATE AZ::AssetProcessor.Static + RUNTIME_DEPENDENCIES + AZ::AssetBuilder ) # Adds the AssetProcessor target as a C preprocessor define so that it can be used as a Settings Registry @@ -122,6 +122,8 @@ ly_add_target( BUILD_DEPENDENCIES PRIVATE AZ::AssetProcessorBatch.Static + RUNTIME_DEPENDENCIES + AZ::AssetBuilder ) if(LY_DEFAULT_PROJECT_PATH)