lottie/example : build example only when the dependancy is resolved.

Change-Id: Ifbdd6aa4fd1f9626af2211c1873cecb3ec6065c3
This commit is contained in:
subhransu mohanty 2019-01-07 10:20:05 +09:00 committed by Hermet Park
parent 2ea4540190
commit 9f7171c42c

View File

@ -46,9 +46,12 @@ if (demo_dep.found())
link_with : lottie_player_lib,
dependencies : demo_dep)
if (meson.get_compiler('cpp').has_header('elementary-1/elm_animation_view.h'))
executable('efl_animview',
'efl_animview.cpp',
include_directories : inc,
link_with : lottie_player_lib,
dependencies : demo_dep)
endif
endif