Make updates to aom app targets in cmake additive.

Don't smash the value when assigning in CMakeLists.txt in
case the list needs an update from elsewhere in the build.

Change-Id: Icf1720f6bb4508e6a557c16dc229170f82d740b9
This commit is contained in:
Tom Finegan 2017-02-23 14:34:02 -08:00
Родитель 98bc74ca5f
Коммит 1d848474ff
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -734,8 +734,9 @@ add_executable(twopass_encoder
$<TARGET_OBJECTS:aom_encoder_app_util>)
# List of app targets.
set(AOM_APP_TARGETS aom_cx_set_ref aomdec aomenc decode_to_md5 decode_with_drops
lossless_encoder set_maps simple_decoder simple_encoder twopass_encoder)
set(AOM_APP_TARGETS ${AOM_APP_TARGETS} aom_cx_set_ref aomdec aomenc
decode_to_md5 decode_with_drops lossless_encoder set_maps simple_decoder
simple_encoder twopass_encoder)
foreach (aom_app ${AOM_APP_TARGETS})
target_link_libraries(${aom_app} PUBLIC aom)