From: subhransu mohanty Date: Mon, 7 Jan 2019 01:20:05 +0000 (+0900) Subject: lottie/example : build example only when the dependancy is resolved. X-Git-Tag: accepted/tizen/unified/20190111.055210~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F51%2F196851%2F2;p=platform%2Fcore%2Fuifw%2Flottie-player.git lottie/example : build example only when the dependancy is resolved. Change-Id: Ifbdd6aa4fd1f9626af2211c1873cecb3ec6065c3 --- diff --git a/example/meson.build b/example/meson.build index 19d7fc0..9a89b60 100644 --- a/example/meson.build +++ b/example/meson.build @@ -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