lottie/example : build example only when the dependancy is resolved. 51/196851/2
authorsubhransu mohanty <sub.mohanty@samsung.com>
Mon, 7 Jan 2019 01:20:05 +0000 (10:20 +0900)
committerHermet Park <chuneon.park@samsung.com>
Tue, 8 Jan 2019 05:55:50 +0000 (05:55 +0000)
Change-Id: Ifbdd6aa4fd1f9626af2211c1873cecb3ec6065c3

example/meson.build

index 19d7fc0..9a89b60 100644 (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