Fix benchmark run crashes. (#7595)

The benchmark builds weren't building the dependent DLLs due to missing dependencies in the cmake files.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
This commit is contained in:
Mike Balfour
2022-02-11 18:00:35 -06:00
committed by GitHub
parent d55c83d0d1
commit 51569d8705
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -142,6 +142,8 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
Gem::LmbrCentral
Gem::LmbrCentral.Mocks
Gem::GradientSignal.Mocks
RUNTIME_DEPENDENCIES
Gem::SurfaceData
)
ly_add_target(
@@ -162,6 +164,8 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
Gem::LmbrCentral
Gem::LmbrCentral.Mocks
Gem::GradientSignal.Mocks
RUNTIME_DEPENDENCIES
Gem::SurfaceData
)
ly_add_googletest(
NAME Gem::GradientSignal.Tests
+2
View File
@@ -98,6 +98,8 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
AZ::AzTest
Gem::SurfaceData.Static
Gem::LmbrCentral
RUNTIME_DEPENDENCIES
Gem::LmbrCentral
)
ly_add_googletest(
NAME Gem::SurfaceData.Tests