Add missing dependency to CMake test object libraries

The test libs omitted the dependency on aom.

Change-Id: I47fe769252151cf0bf81f245452e22512963c9fa
This commit is contained in:
Tom Finegan 2017-06-21 11:46:51 -07:00
Родитель a56f916e85
Коммит d2a74d6b08
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -327,13 +327,16 @@ endif ()
# exist before this function is called. # exist before this function is called.
function (setup_aom_test_targets) function (setup_aom_test_targets)
add_library(test_aom_common OBJECT ${AOM_UNIT_TEST_COMMON_SOURCES}) add_library(test_aom_common OBJECT ${AOM_UNIT_TEST_COMMON_SOURCES})
add_dependencies(test_aom_common aom)
if (CONFIG_AV1_DECODER) if (CONFIG_AV1_DECODER)
add_library(test_aom_decoder OBJECT ${AOM_UNIT_TEST_DECODER_SOURCES}) add_library(test_aom_decoder OBJECT ${AOM_UNIT_TEST_DECODER_SOURCES})
add_dependencies(test_aom_decoder aom)
endif () endif ()
if (CONFIG_AV1_ENCODER) if (CONFIG_AV1_ENCODER)
add_library(test_aom_encoder OBJECT ${AOM_UNIT_TEST_ENCODER_SOURCES}) add_library(test_aom_encoder OBJECT ${AOM_UNIT_TEST_ENCODER_SOURCES})
add_dependencies(test_aom_encoder aom)
endif () endif ()
add_executable(test_libaom ${AOM_UNIT_TEST_WRAPPER_SOURCES} add_executable(test_libaom ${AOM_UNIT_TEST_WRAPPER_SOURCES}