examples: Only build RPi EGL example if RPi was chosen as target
authorSebastian Dröge <sebastian@centricular.com>
Wed, 12 Mar 2014 11:43:49 +0000 (12:43 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 12 Mar 2014 11:43:49 +0000 (12:43 +0100)
examples/egl/Makefile.am

index bee9c1c..0d32d08 100644 (file)
@@ -1,4 +1,8 @@
-noinst_PROGRAMS = testegl
+noinst_PROGRAMS = 
+
+if USE_OMX_TARGET_RPI
+noinst_PROGRAMS += testegl
+endif
 
 testegl_SOURCES = testegl.c