Motion Matching: Fix for test build on nightly linux builds (#7522)

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
monroegm-disable-blank-issue-2
Benjamin Jillich 4 years ago committed by GitHub
parent daee055a97
commit caae0b0ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,27 +121,27 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
ly_add_googletest( ly_add_googletest(
NAME Gem::MotionMatching.Tests NAME Gem::MotionMatching.Tests
) )
endif()
# If we are a host platform we want to add tools test like editor tests here # If we are a host platform we want to add tools test like editor tests here
if(PAL_TRAIT_BUILD_HOST_TOOLS) if(PAL_TRAIT_BUILD_HOST_TOOLS)
ly_add_target( ly_add_target(
NAME MotionMatching.Editor.Tests ${PAL_TRAIT_TEST_TARGET_TYPE} NAME MotionMatching.Editor.Tests ${PAL_TRAIT_TEST_TARGET_TYPE}
NAMESPACE Gem NAMESPACE Gem
FILES_CMAKE FILES_CMAKE
motionmatching_editor_tests_files.cmake motionmatching_editor_tests_files.cmake
INCLUDE_DIRECTORIES INCLUDE_DIRECTORIES
PRIVATE PRIVATE
Tests Tests
Source Source
BUILD_DEPENDENCIES BUILD_DEPENDENCIES
PRIVATE PRIVATE
AZ::AzTest AZ::AzTest
Gem::MotionMatching.Editor Gem::MotionMatching.Editor
) )
# Add MotionMatching.Editor.Tests to googletest # Add MotionMatching.Editor.Tests to googletest
ly_add_googletest( ly_add_googletest(
NAME Gem::MotionMatching.Editor.Tests NAME Gem::MotionMatching.Editor.Tests
) )
endif()
endif() endif()

Loading…
Cancel
Save