Commit d2a74d6b authored by Tom Finegan's avatar Tom Finegan

Add missing dependency to CMake test object libraries

The test libs omitted the dependency on aom.

Change-Id: I47fe769252151cf0bf81f245452e22512963c9fa
parent a56f916e
......@@ -327,13 +327,16 @@ endif ()
# exist before this function is called.
function (setup_aom_test_targets)
add_library(test_aom_common OBJECT ${AOM_UNIT_TEST_COMMON_SOURCES})
add_dependencies(test_aom_common aom)
if (CONFIG_AV1_DECODER)
add_library(test_aom_decoder OBJECT ${AOM_UNIT_TEST_DECODER_SOURCES})
add_dependencies(test_aom_decoder aom)
endif ()
if (CONFIG_AV1_ENCODER)
add_library(test_aom_encoder OBJECT ${AOM_UNIT_TEST_ENCODER_SOURCES})
add_dependencies(test_aom_encoder aom)
endif ()
add_executable(test_libaom ${AOM_UNIT_TEST_WRAPPER_SOURCES}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment