From 9f7171c42cd217403c6332cf1ed589d08477b97f Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Mon, 7 Jan 2019 10:20:05 +0900 Subject: [PATCH] lottie/example : build example only when the dependancy is resolved. Change-Id: Ifbdd6aa4fd1f9626af2211c1873cecb3ec6065c3 --- example/meson.build | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.34.1