Add missing dependency to CMake test object libraries
The test libs omitted the dependency on aom. Change-Id: I47fe769252151cf0bf81f245452e22512963c9fa
This commit is contained in:
Родитель
a56f916e85
Коммит
d2a74d6b08
|
@ -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}
|
||||
|
|
Загрузка…
Ссылка в новой задаче