Add some missing sources to fix the CMake build. CMake build out of sync/broken since ee6743235da6b0e1f872cda72480e6503f7cc943 landed. Change-Id: Ica3186db2e8b80750069f224f5b5858491e5be0b
diff --git a/av1/av1.cmake b/av1/av1.cmake index cc2716f..8561fc0 100644 --- a/av1/av1.cmake +++ b/av1/av1.cmake
@@ -306,6 +306,10 @@ "${AOM_ROOT}/third_party/fastfeat/fast.c" "${AOM_ROOT}/third_party/fastfeat/fast.h" "${AOM_ROOT}/third_party/fastfeat/nonmax.c") + + set(AOM_AV1_ENCODER_INTRIN_SSE4_1 + ${AOM_AV1_ENCODER_INTRIN_SSE4_1} + "${AOM_ROOT}/av1/encoder/x86/corner_match_sse4.c") endif () if (CONFIG_INSPECTION)
diff --git a/test/test.cmake b/test/test.cmake index 7e45850..361d9f7 100644 --- a/test/test.cmake +++ b/test/test.cmake
@@ -169,6 +169,12 @@ "${AOM_ROOT}/test/fht32x32_test.cc") endif () + if (CONFIG_GLOBAL_MOTION) + set(AOM_UNIT_TEST_ENCODER_INTRIN_SSE4_1 + ${AOM_UNIT_TEST_ENCODER_INTRIN_SSE4_1} + "${AOM_ROOT}/test/corner_match_test.cc") + endif () + if (CONFIG_MOTION_VAR) set(AOM_UNIT_TEST_ENCODER_SOURCES ${AOM_UNIT_TEST_ENCODER_SOURCES} @@ -298,6 +304,12 @@ if (HAVE_SSE4_1) add_intrinsics_source_to_target("-msse4.1" "test_libaom" "AOM_UNIT_TEST_COMMON_INTRIN_SSE4_1") + if (CONFIG_ENCODERS) + if (AOM_UNIT_TEST_ENCODER_INTRIN_SSE4_1) + add_intrinsics_source_to_target("-msse4.1" "test_libaom" + "AOM_UNIT_TEST_ENCODER_INTRIN_SSE4_1") + endif () + endif () endif () if (HAVE_NEON) add_intrinsics_source_to_target("${AOM_NEON_INTRIN_FLAG}" "test_libaom"